forked from cmichaelgraham/aurelia-amd-bundler
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bundle-and-copy-to-solutions.sh
42 lines (35 loc) · 1.52 KB
/
bundle-and-copy-to-solutions.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
echo "removing aurelia-latest folder (if it exists)."
mkdir empty
robocopy ./empty ./aurelia-latest -MIR > /dev/null
rm -fR aurelia-latest
rm -fR empty
mkdir aurelia-latest
cd aurelia-latest
../clone-and-build.sh aurelia templating-resources
../clone-and-build.sh aurelia loader
../clone-and-build.sh aurelia loader-default
../clone-and-build.sh aurelia path
../clone-and-build.sh aurelia task-queue
../clone-and-build.sh aurelia logging
../clone-and-build.sh aurelia logging-console
../clone-and-build.sh aurelia history
../clone-and-build.sh aurelia history-browser
../clone-and-build.sh aurelia event-aggregator
../clone-and-build.sh aurelia framework
../clone-and-build.sh aurelia metadata
../clone-and-build.sh aurelia binding
../clone-and-build.sh aurelia dependency-injection
../clone-and-build.sh aurelia router
../clone-and-build.sh aurelia templating-binding
../clone-and-build.sh aurelia templating-router
../clone-and-build.sh aurelia route-recognizer
../clone-and-build.sh aurelia http-client
../clone-and-build.sh aurelia bootstrapper
../clone-and-build.sh aurelia html-template-element
../clone-and-build.sh aurelia templating
cd ..
echo build aurelia-bundle
node r.js -o name=aurelia-bundle-manifest baseUrl=. mainConfigFile=main-config.js out=aurelia-bundle.js optimize=none
echo build aurelia-bundle-latest
node r.js -o name=aurelia-bundle-manifest baseUrl=. mainConfigFile=main-config-latest.js out=aurelia-bundle-latest.js optimize=none
cp -f aurelia-bundle.js aurelia-bundle-latest.js aurelia-bundle.min.js ../scripts/aurelia