Skip to content
Newer
Older
100755 38 lines (31 sloc) 1.02 KB
8ab98b0 @jrburke Pulling out the optimizer to a separate repo.
authored
1 #!/bin/bash
2
3 # This script updates the sub projects that depend on the main requirejs
4 # project. It is assumed the sub projects are siblings to this project
5 # the the names specified below.
6
7 echo "Updating r.js"
8 cp require.js ../r.js/require.js
44fa98d @jrburke Fix for running optimizer when jquery is involved: in that case the d…
authored
9 cd ../r.js
10 node dist.js
11 cd ../requirejs
8ab98b0 @jrburke Pulling out the optimizer to a separate repo.
authored
12
13 # The RequireJS+jQuery sample project.
14 echo "Updating jQuery sample project"
15 cp require.js ../require-jquery/parts/require.js
3b4847d @jrburke Update the sub projects script.
authored
16 cp ../r.js/r.js ../require-jquery/jquery-require-sample/r.js
8ab98b0 @jrburke Pulling out the optimizer to a separate repo.
authored
17 cd ../require-jquery/parts
18 ./update.sh
19 cd ../../requirejs
3b4847d @jrburke Update the sub projects script.
authored
20
ef88c1e @jrburke Rev version for 2.0.2 release
authored
21 # The cajon project
22 echo "Updating the cajon project"
23 cp require.js ../cajon/tools/require.js
24 cp ../r.js/r.js ../cajon/tools/r.js
25 cd ../cajon/tools
e37fff7 @jrburke Fixes #344, do not find obj.require calls for runtime dependency scan…
authored
26 ./build-cajon.sh
ef88c1e @jrburke Rev version for 2.0.2 release
authored
27 cd ../../requirejs
28
3b4847d @jrburke Update the sub projects script.
authored
29 # The require-cs project
30 echo "Updating the require-cs CoffeeScript plugin"
31 cp require.js ../require-cs/demo/lib/require.js
32 cp ../r.js/r.js ../require-cs/tools/r.js
33
b0c988c @jrburke Prep for 0.26.0 release.
authored
34 # The npm container stuff
35 echo "Updating requirejs-npm"
36 cp require.js ../requirejs-npm/requirejs/require.js
37 cp ../r.js/r.js ../requirejs-npm/requirejs/bin/r.js
Something went wrong with that request. Please try again.