mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-09-02 08:05:14 +03:00
Merge pull request #2672 from yueguobin/fix/update-bundled-web-ui-script
Fix update-bundled-web-ui script for newer Angular CLI
This commit is contained in:
commit
a366007f72
@ -92,10 +92,9 @@ cd "$REPO_DIR"
|
||||
|
||||
yarn install
|
||||
|
||||
# FIXME: remove --build-optimizer=false
|
||||
yarn ng build --source-map=false --build-optimizer=false --configuration=production --base-href /static/web-ui/
|
||||
yarn ng build --source-map=false --configuration=production --base-href /static/web-ui/
|
||||
|
||||
cp -R $REPO_DIR/dist/* "$GNS3SERVER_DIR/gns3server/static/web-ui/"
|
||||
cp -R $REPO_DIR/dist/browser/* "$GNS3SERVER_DIR/gns3server/static/web-ui/"
|
||||
|
||||
cd "$GNS3SERVER_DIR"
|
||||
git add gns3server/static/web-ui/*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user