Skip to content

Commit

Permalink
Checks for esc program before compiling coy
Browse files Browse the repository at this point in the history
  • Loading branch information
Rosalie Tolentino committed Aug 2, 2017
1 parent 7650390 commit b3a73dd
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
Expand Up @@ -12,9 +12,12 @@ default: gen-ui-defs gen-schema-defs lint test

build: build-cli build-gui

check-deps:
@type esc >/dev/null 2>&1 || (echo "The program 'esc' is required but not available. Please install it by running 'make deps-dev'." && exit 1)

# This should not be added as a requirement to build-gui because it may hide
# build problems. build-gui is exactly what `go get` will do on a clean repo
gen-ui-defs:
gen-ui-defs: check-deps
make -C ./gui

gen-schema-defs:
Expand Down

0 comments on commit b3a73dd

Please sign in to comment.