forked from requirejs/requirejs
-
Notifications
You must be signed in to change notification settings - Fork 1
/
updatesubs.sh
executable file
·38 lines (31 loc) · 1.16 KB
/
updatesubs.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
#!/bin/bash
# This script updates the sub projects that depend on the main requirejs
# project. It is assumed the sub projects are siblings to this project
# the the names specified below.
echo "Updating r.js"
cp require.js ../r.js/require.js
cd ../r.js
node dist.js
cd ../requirejs
# The RequireJS+jQuery sample project.
echo "Updating jQuery sample project"
cp require.js ../require-jquery/parts/require.js
cp ../r.js/r.js ../require-jquery/jquery-require-sample/r.js
cd ../require-jquery/parts
./update.sh
cd ../../requirejs
# The require-cs project
echo "Updating the require-cs CoffeeScript plugin"
cp require.js ../require-cs/demo/lib/require.js
cp ../r.js/r.js ../require-cs/tools/r.js
# The r.no.de example service
echo "Updating r.no.de example"
cp ../r.js/r.js ../r.no.de/server.js
# The jquery-amd project
echo "Updating jqueryui-amd"
cp ../require-jquery/jquery-require-sample/webapp/scripts/require-jquery.js ../jqueryui-amd/example/webapp/scripts/require-jquery.js
cp ../r.js/r.js ../jqueryui-amd/example/r.js
# The npm container stuff
echo "Updating requirejs-npm"
cp require.js ../requirejs-npm/requirejs/require.js
cp ../r.js/r.js ../requirejs-npm/requirejs/bin/r.js