Move react.js to vendor directory

This commit is contained in:
Dan Holmsand 2014-02-11 17:10:04 +01:00
parent 0b5f8c423e
commit 4882b51b64
4 changed files with 5 additions and 3 deletions

View File

@ -36,6 +36,7 @@ install: leinbuild
preclean: preclean:
rm -rf repl .repl target out rm -rf repl .repl target out
mkdir -p vendor/reagent
clean: preclean clean: preclean
rm -rf news assets rm -rf news assets
@ -53,13 +54,13 @@ veryclean: clean
bower_components: bower_components:
bower install react#v0.8.0 bower install react#v0.8.0
src/reagent/react.min.js: bower_components/react/react.min.js Makefile vendor/reagent/react.min.js: bower_components/react/react.min.js Makefile
cp $< $@ cp $< $@
src/reagent/react.js: bower_components/react/react.js Makefile vendor/reagent/react.js: bower_components/react/react.js Makefile
cp $< $@ cp $< $@
copyjs: bower_components src/reagent/react.min.js src/reagent/react.js copyjs: bower_components vendor/reagent/react.min.js vendor/reagent/react.js
gensite: gensite:
node bin/gen-site.js node bin/gen-site.js

View File

@ -28,6 +28,7 @@
{:source-map "target/cljs-client.js.map" {:source-map "target/cljs-client.js.map"
:source-map-path "client"}}}}}} :source-map-path "client"}}}}}}
:source-paths ["src"] :source-paths ["src"]
:resource-paths ["vendor"]
:cljsbuild :cljsbuild
{:builds {:builds
{:client {:source-paths ["src" "demo" "examples/todomvc/src" {:client {:source-paths ["src" "demo" "examples/todomvc/src"