Version 0.0.1

This commit is contained in:
Dan Holmsand 2013-12-16 23:22:54 +01:00
parent 12566ced7b
commit 7ebbdeaf66
4 changed files with 8 additions and 7 deletions

View File

@ -9,7 +9,7 @@ PROF = dev,test
CLJSBUILD = client CLJSBUILD = client
CLJSDIRS = src test CLJSDIRS = src test
VERSION = 0.0.1-SNAPSHOT VERSION = 0.0.1 # -SNAPSHOT
all: buildrun all: buildrun
@ -49,8 +49,9 @@ bower_components:
bower install react#v0.5.1 bower install react#v0.5.1
setversion: setversion:
version=$(VERSION); \
find . -name project.clj | \ 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 tag: setversion
if git rev-parse v$(VERSION) 2>/dev/null; then \ if git rev-parse v$(VERSION) 2>/dev/null; then \

View File

@ -1,8 +1,8 @@
(defproject simple-cloact "0.0.1-SNAPSHOT" (defproject simple-cloact "0.0.1"
:dependencies [[org.clojure/clojurescript "0.0-2120"] :dependencies [[org.clojure/clojurescript "0.0-2120"]
[cloact "0.0.1-SNAPSHOT"]] [cloact "0.0.1"]]
:plugins [[lein-cljsbuild "1.0.0"]] :plugins [[lein-cljsbuild "1.0.0"]]
:hooks [leiningen.cljsbuild] :hooks [leiningen.cljsbuild]
:profiles {:prod {:cljsbuild :profiles {:prod {:cljsbuild

View File

@ -1,8 +1,8 @@
(defproject todomvc-cloact "0.0.1-SNAPSHOT" (defproject todomvc-cloact "0.0.1"
:dependencies [[org.clojure/clojurescript "0.0-2120"] :dependencies [[org.clojure/clojurescript "0.0-2120"]
[cloact "0.0.1-SNAPSHOT"]] [cloact "0.0.1"]]
:plugins [[lein-cljsbuild "1.0.0"]] :plugins [[lein-cljsbuild "1.0.0"]]
:hooks [leiningen.cljsbuild] :hooks [leiningen.cljsbuild]
:profiles {:prod {:cljsbuild :profiles {:prod {:cljsbuild

View File

@ -1,6 +1,6 @@
(defproject cloact "0.0.1-SNAPSHOT" (defproject cloact "0.0.1"
:dependencies [[org.clojure/clojurescript "0.0-2120"]] :dependencies [[org.clojure/clojurescript "0.0-2120"]]
:plugins [[lein-cljsbuild "1.0.1"]] :plugins [[lein-cljsbuild "1.0.1"]]
:hooks [leiningen.cljsbuild] :hooks [leiningen.cljsbuild]