Skip to content

Commit

Permalink
Add a check to the build logic to see if node is present
Browse files Browse the repository at this point in the history
The ClojureScript tests rely on node being present, if it's not there then they
will fail in non-obvious ways. To provide quick feedback we do a check first
before starting the tests.
  • Loading branch information
plexus committed Dec 27, 2018
1 parent 5869cbb commit 6f11411
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: test-clj test-cljs eastwood cljfmt cloverage install smoketest release deploy clean
.PHONY: test-clj test-cljs eastwood cljfmt cloverage install smoketest release deploy clean check_node

VERSION ?= 1.9
export CLOVERAGE_VERSION = 1.0.13
Expand Down Expand Up @@ -53,6 +53,9 @@ smoketest: install
lein with-profile +$(VERSION) uberjar && \
java -jar target/smoketest-0.1.0-SNAPSHOT-standalone.jar

check_node:
which node

# When releasing, the BUMP variable controls which field in the
# version string will be incremented in the *next* snapshot
# version. Typically this is either "major", "minor", or "patch".
Expand Down

0 comments on commit 6f11411

Please sign in to comment.