mirror of https://github.com/status-im/reagent.git
Move react.js to vendor directory
This commit is contained in:
parent
0b5f8c423e
commit
4882b51b64
7
Makefile
7
Makefile
|
@ -36,6 +36,7 @@ install: leinbuild
|
|||
|
||||
preclean:
|
||||
rm -rf repl .repl target out
|
||||
mkdir -p vendor/reagent
|
||||
|
||||
clean: preclean
|
||||
rm -rf news assets
|
||||
|
@ -53,13 +54,13 @@ veryclean: clean
|
|||
bower_components:
|
||||
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 $< $@
|
||||
|
||||
src/reagent/react.js: bower_components/react/react.js Makefile
|
||||
vendor/reagent/react.js: bower_components/react/react.js Makefile
|
||||
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:
|
||||
node bin/gen-site.js
|
||||
|
|
|
@ -28,6 +28,7 @@
|
|||
{:source-map "target/cljs-client.js.map"
|
||||
:source-map-path "client"}}}}}}
|
||||
:source-paths ["src"]
|
||||
:resource-paths ["vendor"]
|
||||
:cljsbuild
|
||||
{:builds
|
||||
{:client {:source-paths ["src" "demo" "examples/todomvc/src"
|
||||
|
|
Loading…
Reference in New Issue