diff --git a/Makefile b/Makefile index 7779391..c8d764e 100644 --- a/Makefile +++ b/Makefile @@ -9,7 +9,7 @@ PROF = dev,test CLJSBUILD = client CLJSDIRS = src test -VERSION = 0.0.1-SNAPSHOT +VERSION = 0.0.1 # -SNAPSHOT all: buildrun @@ -49,8 +49,9 @@ bower_components: bower install react#v0.5.1 setversion: + version=$(VERSION); \ find . -name project.clj | \ - xargs -n1 sed -i "" -e 's,\(cloact "\)\([^"]*\)",\1'$(VERSION)'"',g + xargs -n1 sed -i "" -e 's,\(cloact "\)\([^"]*\)",\1'"$$version"'"',g tag: setversion if git rev-parse v$(VERSION) 2>/dev/null; then \ diff --git a/examples/simple/project.clj b/examples/simple/project.clj index 2d30033..7e1af4b 100644 --- a/examples/simple/project.clj +++ b/examples/simple/project.clj @@ -1,8 +1,8 @@ -(defproject simple-cloact "0.0.1-SNAPSHOT" +(defproject simple-cloact "0.0.1" :dependencies [[org.clojure/clojurescript "0.0-2120"] - [cloact "0.0.1-SNAPSHOT"]] + [cloact "0.0.1"]] :plugins [[lein-cljsbuild "1.0.0"]] :hooks [leiningen.cljsbuild] :profiles {:prod {:cljsbuild diff --git a/examples/todomvc/project.clj b/examples/todomvc/project.clj index 1958e1a..af5eb6d 100644 --- a/examples/todomvc/project.clj +++ b/examples/todomvc/project.clj @@ -1,8 +1,8 @@ -(defproject todomvc-cloact "0.0.1-SNAPSHOT" +(defproject todomvc-cloact "0.0.1" :dependencies [[org.clojure/clojurescript "0.0-2120"] - [cloact "0.0.1-SNAPSHOT"]] + [cloact "0.0.1"]] :plugins [[lein-cljsbuild "1.0.0"]] :hooks [leiningen.cljsbuild] :profiles {:prod {:cljsbuild diff --git a/project.clj b/project.clj index 74d0a0e..90fd15d 100644 --- a/project.clj +++ b/project.clj @@ -1,6 +1,6 @@ -(defproject cloact "0.0.1-SNAPSHOT" +(defproject cloact "0.0.1" :dependencies [[org.clojure/clojurescript "0.0-2120"]] :plugins [[lein-cljsbuild "1.0.1"]] :hooks [leiningen.cljsbuild]