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:
|
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
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue