Skip to content

Commit c350efb

Browse files
plexusbbatsov
authored andcommitted
Add a check to the build logic to see if node is present
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.
1 parent b920e66 commit c350efb

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
.PHONY: test-clj test-cljs eastwood cljfmt cloverage install smoketest release deploy clean
1+
.PHONY: test-clj test-cljs eastwood cljfmt cloverage install smoketest release deploy clean check_node
22

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

56+
check_node:
57+
which node
58+
5659
# When releasing, the BUMP variable controls which field in the
5760
# version string will be incremented in the *next* snapshot
5861
# version. Typically this is either "major", "minor", or "patch".

0 commit comments

Comments
 (0)