Skip to content

Commit

Permalink
lein-git-version
Browse files Browse the repository at this point in the history
  • Loading branch information
johannesloetzsch committed Sep 1, 2019
1 parent 7bb0933 commit 25ea6de
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 3 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ pom.xml.asc
/.nrepl-port
.hgignore
.hg/
resources/version.edn
8 changes: 6 additions & 2 deletions project.clj
Original file line number Diff line number Diff line change
@@ -1,6 +1,10 @@
(defproject termide "0.1.0"
(defproject termide "_"
:git-version
{:version-file "resources/version.edn"
:status-to-version lein-git-version.plugin/default-status-to-version}
:description "Terminal IDE for re-frame/shadow-cljs projects"
:url "https://github.com/johannesloetzsch/termide"
:license {:name "EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0"
:url "https://www.eclipse.org/legal/epl-2.0/"}
:eval-in-leiningen true)
:eval-in-leiningen true
:plugins [[johannesloetzsch/lein-git-version "2.0.9"]])
2 changes: 1 addition & 1 deletion src/leiningen/termide.clj
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
(-> (ProcessBuilder. ["lein" "test"]) .inheritIO .start .waitFor)
(println)
;; cljs
(let [cmd ["lein" "run" "-m" "shadow.cljs.devtools.cli" "compile" "karma-test"]]
(let [cmd ["./node_modules/.bin/shadow-cljs" "compile" "karma-test"]]
(-> (ProcessBuilder. cmd) .inheritIO .start .waitFor))
(let [chromium-bin (trim (:out (sh "which" "chromium")))
cmd ["./node_modules/.bin/karma" "start" "--single-run" "--reporters" "junit,dots"]
Expand Down

0 comments on commit 25ea6de

Please sign in to comment.