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 e3c20cc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
7 changes: 7 additions & 0 deletions .github/workflows/build-and-release-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ jobs:
python tools/release/setup_version.py ALL dev >> $GITHUB_OUTPUT
build-and-release-taipy-dev-packages:
permissions:
id-token: write # IMPORTANT: this permission is mandatory for trusted publishing
needs: [fetch-versions]
timeout-minutes: 20
runs-on: ubuntu-latest
Expand Down Expand Up @@ -110,6 +112,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
2 changes: 1 addition & 1 deletion taipy/gui/MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
recursive-include tools *

# Package taipy-gui
recursive-include webapp *
recursive-include taipy-gui/webapp *
include version.json
include viselements.json
include *.pyi
5 changes: 0 additions & 5 deletions tools/release/build_package_structure.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,3 @@
if file_name.lower().endswith((".md", ".json")) or file_name in __SKIP:
continue
shutil.move(file_name, _package_path)

for file_name in os.listdir("../"):
if os.path.isdir(file_name):
continue
shutil.move(file_name, ".")

0 comments on commit e3c20cc

Please sign in to comment.