|
42 | 42 |
|
43 | 43 | root_dir = os.path.join(os.path.dirname(__file__), "..", "..") |
44 | 44 |
|
45 | | -sys_config_dir = os.path.join(root_dir, "packages", "config-bundles", "polywrap-sys-config-bundle") |
46 | | -subprocess.check_call(["yarn", "codegen"], cwd=sys_config_dir) |
| 45 | +fs_plugin_dir = os.path.join(root_dir, "packages", "plugins", "polywrap-fs-plugin") |
| 46 | +http_plugin_dir = os.path.join(root_dir, "packages", "plugins", "polywrap-http-plugin") |
| 47 | +ethereum_plugin_dir = os.path.join(root_dir, "packages", "plugins", "polywrap-ethereum-provider") |
| 48 | + |
| 49 | +subprocess.check_call(["npm", "install", "-g", "yarn"], cwd=root_dir) |
| 50 | +subprocess.check_call(["yarn", "codegen"], cwd=fs_plugin_dir) |
| 51 | +subprocess.check_call(["yarn", "codegen"], cwd=http_plugin_dir) |
| 52 | +subprocess.check_call(["yarn", "codegen"], cwd=ethereum_plugin_dir) |
47 | 53 |
|
48 | 54 | shutil.rmtree(os.path.join(root_dir, "docs", "source", "misc"), ignore_errors=True) |
49 | 55 | shutil.copytree(os.path.join(root_dir, "misc"), os.path.join(root_dir, "docs", "source", "misc")) |
50 | 56 |
|
51 | | -subprocess.check_call(["python", "scripts/extract_readme.py"], cwd=os.path.join(root_dir, "packages", "polywrap-client")) |
52 | 57 | shutil.copy2(os.path.join(root_dir, "packages", "polywrap-client", "README.rst"), os.path.join(root_dir, "docs", "source", "Quickstart.rst")) |
53 | | - |
54 | 58 | shutil.copy2(os.path.join(root_dir, "CONTRIBUTING.rst"), os.path.join(root_dir, "docs", "source", "CONTRIBUTING.rst")) |
0 commit comments