mirror of
https://github.com/metosin/reitit.git
synced 2025-12-21 10:01:11 +00:00
Replace the version in place
This commit is contained in:
parent
c3820239c5
commit
2ae8fd27a8
6 changed files with 12 additions and 21 deletions
|
|
@ -1,6 +1,4 @@
|
|||
(def VERSION "0.1.0-SNAPSHOT")
|
||||
|
||||
(defproject metosin/reitit-core VERSION
|
||||
(defproject metosin/reitit-core "0.1.0-SNAPSHOT"
|
||||
:description "Snappy data-driven router for Clojure(Script)"
|
||||
:url "https://github.com/metosin/reitit"
|
||||
:license {:name "Eclipse Public License"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
(def VERSION "0.1.0-SNAPSHOT")
|
||||
|
||||
(defproject metosin/reitit-ring VERSION
|
||||
(defproject metosin/reitit-ring "0.1.0-SNAPSHOT"
|
||||
:description "Reitit: Ring routing"
|
||||
:url "https://github.com/metosin/reitit"
|
||||
:license {:name "Eclipse Public License"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
(def VERSION "0.1.0-SNAPSHOT")
|
||||
|
||||
(defproject metosin/reitit-spec VERSION
|
||||
(defproject metosin/reitit-spec "0.1.0-SNAPSHOT"
|
||||
:description "Reitit: clojure.spec coercion"
|
||||
:url "https://github.com/metosin/reitit"
|
||||
:license {:name "Eclipse Public License"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,4 @@
|
|||
(def VERSION "0.1.0-SNAPSHOT")
|
||||
|
||||
(defproject metosin/reitit VERSION
|
||||
(defproject metosin/reitit "0.1.0-SNAPSHOT"
|
||||
:description "Snappy data-driven router for Clojure(Script)"
|
||||
:url "https://github.com/metosin/reitit"
|
||||
:license {:name "Eclipse Public License"
|
||||
|
|
|
|||
12
project.clj
12
project.clj
|
|
@ -1,6 +1,4 @@
|
|||
(def VERSION "0.1.0-SNAPSHOT")
|
||||
|
||||
(defproject metosin/reitit-parent VERSION
|
||||
(defproject metosin/reitit-parent "0.1.0-SNAPSHOT"
|
||||
:description "Snappy data-driven router for Clojure(Script)"
|
||||
:url "https://github.com/metosin/reitit"
|
||||
:license {:name "Eclipse Public License"
|
||||
|
|
@ -11,10 +9,10 @@
|
|||
:source-uri "https://github.com/metosin/reitit/{version}/{filepath}#L{line}"
|
||||
:metadata {:doc/format :markdown}}
|
||||
|
||||
:managed-dependencies [[metosin/reitit ~VERSION]
|
||||
[metosin/reitit-core ~VERSION]
|
||||
[metosin/reitit-ring ~VERSION]
|
||||
[metosin/reitit-spec ~VERSION]
|
||||
:managed-dependencies [[metosin/reitit "0.1.0-SNAPSHOT"]
|
||||
[metosin/reitit-core "0.1.0-SNAPSHOT"]
|
||||
[metosin/reitit-ring "0.1.0-SNAPSHOT"]
|
||||
[metosin/reitit-spec "0.1.0-SNAPSHOT"]
|
||||
|
||||
[meta-merge "1.0.0"]
|
||||
[metosin/spec-tools "0.5.0"]]
|
||||
|
|
|
|||
|
|
@ -2,5 +2,6 @@
|
|||
|
||||
ext="sedbak$$"
|
||||
|
||||
find . -name project.clj -exec sed -i.$ext "s/(def VERSION \".*\")/(def VERSION \"$1\")/g" '{}' \;
|
||||
find . -name project.clj -exec sed -i.$ext "s/\[metosin\/reitit\(.*\) \".*\"\]/[metosin\/reitit\1 \"$1\"\]/g" '{}' \;
|
||||
find . -name project.clj -exec sed -i.$ext "s/defproject metosin\/reitit\(.*\) \".*\"/defproject metosin\/reitit\1 \"$1\"/g" '{}' \;
|
||||
find . -name "*.$ext" -exec rm '{}' \;
|
||||
Loading…
Reference in a new issue