mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-08-16 18:17:31 +08:00
chore: move test apps to test-app directory
This commit is contained in:
23
test-apps/angular/base/scripts/build-ionic.sh
Normal file
23
test-apps/angular/base/scripts/build-ionic.sh
Normal file
@ -0,0 +1,23 @@
|
||||
pushd ../../..
|
||||
|
||||
# Build core
|
||||
pushd core
|
||||
npm run build
|
||||
npm link
|
||||
popd
|
||||
|
||||
# Build angular
|
||||
pushd angular
|
||||
npm link @ionic/core
|
||||
npm run build
|
||||
npm link
|
||||
popd
|
||||
|
||||
# Build angular-server
|
||||
pushd packages/angular-server
|
||||
npm link @ionic/core
|
||||
npm link @ionic/angular
|
||||
npm run build
|
||||
popd
|
||||
|
||||
popd
|
21
test-apps/angular/base/scripts/sync.sh
Normal file
21
test-apps/angular/base/scripts/sync.sh
Normal file
@ -0,0 +1,21 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
# Delete old packages
|
||||
rm -f *.tgz
|
||||
|
||||
# Pack @ionic/core
|
||||
npm pack ../../../../../core
|
||||
|
||||
# Pack @ionic/angular
|
||||
npm pack ../../../dist
|
||||
|
||||
# Pack @ionic/angular-server
|
||||
npm pack ../../../../angular-server/dist
|
||||
|
||||
# Install Dependencies
|
||||
npm install *.tgz --no-save
|
||||
|
||||
# Delete Angular cache directory
|
||||
rm -rf .angular/
|
Reference in New Issue
Block a user