Skip to content

Commit

Permalink
Update the sub projects script.
Browse files Browse the repository at this point in the history
  • Loading branch information
jrburke committed May 15, 2011
1 parent 44fa98d commit 3b4847d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
4 changes: 1 addition & 3 deletions tasks.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,11 @@ Release Notes
- exports and return use is stricter: if exports is in play, return value is ignored.
- includeRequire is removed, use paths: {requireLib: "../../require"} to get require in it.
See the optimization.html for the requireLib example.
- New optimizer/node/rhino adapter: r.js

Next release
--------------

- Update require-jquery to use opto, require-cs too.
- Add jqueryui-amd to updatesubs.sh, update it to use opto too.
- Test: node ../../r.js -o name=main out=main-built.js baseUrl=.
- implement require('.')

- text plugins after a build load xdomain?
Expand Down
19 changes: 15 additions & 4 deletions updatesubs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,24 @@ cd ../r.js
node dist.js
cd ../requirejs

# The CoffeeScript loader plugin and example
echo "CoffeeScript plugin"
cp require.js ../require-cs/require.js

# 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

0 comments on commit 3b4847d

Please sign in to comment.