Skip to content

Commit

Permalink
chore: add frontend build step
Browse files Browse the repository at this point in the history
  • Loading branch information
joaoandre-avaiga committed Mar 1, 2024
1 parent 84d1d4a commit c04ddcc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/build-and-release-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,11 @@ jobs:
run: |
cp tools/gui/generate_pyi.py pyi_temp.py && pipenv run python pyi_temp.py && rm pyi_temp.py
- name: Build frontends
if: matrix.package == 'gui'
run: |
python tools/frontend/bundle_build.py
- name: Build Package Structure
working-directory: ${{ steps.set-variables.outputs.package_dir }}
run: |
Expand Down
5 changes: 3 additions & 2 deletions tools/release/build_package_structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@
shutil.move(file_name, _package_path)

for file_name in os.listdir("../"):
if os.path.isdir(file_name):
_path = os.path.join("../", file_name)
if os.path.isdir(_path) or file_name == "version.json":
continue
shutil.move(file_name, ".")
shutil.copy(_path, ".")

0 comments on commit c04ddcc

Please sign in to comment.