From 4882b51b6446735ed1b30305548e7e203127e91e Mon Sep 17 00:00:00 2001 From: Dan Holmsand Date: Tue, 11 Feb 2014 17:10:04 +0100 Subject: [PATCH] Move react.js to vendor directory --- Makefile | 7 ++++--- project.clj | 1 + {src => vendor}/reagent/react.js | 0 {src => vendor}/reagent/react.min.js | 0 4 files changed, 5 insertions(+), 3 deletions(-) rename {src => vendor}/reagent/react.js (100%) rename {src => vendor}/reagent/react.min.js (100%) diff --git a/Makefile b/Makefile index 5096675..4920c02 100644 --- a/Makefile +++ b/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 diff --git a/project.clj b/project.clj index b764293..4158ba1 100644 --- a/project.clj +++ b/project.clj @@ -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" diff --git a/src/reagent/react.js b/vendor/reagent/react.js similarity index 100% rename from src/reagent/react.js rename to vendor/reagent/react.js diff --git a/src/reagent/react.min.js b/vendor/reagent/react.min.js similarity index 100% rename from src/reagent/react.min.js rename to vendor/reagent/react.min.js