Permalink
Browse files

Flexible r.js build version number

  • Loading branch information...
1 parent c92a73a commit 3321612cb4c1d42354e70268f212b369af4d6adc Jens Arps committed Sep 30, 2011
Showing with 3 additions and 2 deletions.
  1. +3 −2 util/Makefile
View
@@ -3,7 +3,7 @@
#-------------------#
ifndef profile
-profile=kitchensink
+profile=testbuild
endif
ifndef platform
@@ -29,6 +29,7 @@ filename=$(profile)-$(platform).js
#requirepath=../libs/requirejs
requirepath=../libs/requirejs-0.24
rjspath=../libs/r.js
+rjsbuild=r-20110925.js
rhinopath=$(rjspath)/lib/rhino
closurepath=$(rjspath)/lib/closure
@@ -38,7 +39,7 @@ closurepath=$(rjspath)/lib/closure
#-------------------#
build:
- #java -classpath $(rhinopath)/js.jar:$(closurepath)/compiler.jar org.mozilla.javascript.tools.shell.Main $(rjspath)/dist/r-0.26.0.js -o baseUrl=../src name=../profiles/$(profile) out=../build/$(filename) paths.implementations=../platforms/$(platform) optimize=$(optimize)
+ #java -classpath $(rhinopath)/js.jar:$(closurepath)/compiler.jar org.mozilla.javascript.tools.shell.Main $(rjspath)/dist/$(rjsbuild) -o baseUrl=../src name=../profiles/$(profile) out=../build/$(filename) paths.implementations=../platforms/$(platform) optimize=$(optimize)
$(requirepath)/build/buildj.sh baseUrl=../src name=../profiles/$(profile) out=../build/embed-$(filename) paths.implementations=../platforms/$(platform) optimize=$(optimize)
clean:

0 comments on commit 3321612

Please sign in to comment.