Update Makefile

This commit is contained in:
Alex Ling 2020-04-08 07:18:25 +00:00
parent 7d97d21d40
commit fc6a33e5fd

View File

@ -1,4 +1,4 @@
PREFIX=/usr/local PREFIX ?= /usr/local
INSTALL_DIR=$(PREFIX)/bin INSTALL_DIR=$(PREFIX)/bin
all: uglify | build all: uglify | build
@ -23,7 +23,8 @@ test:
crystal spec crystal spec
check: check:
crystal tool format --check && ./bin/ameba crystal tool format --check
./bin/ameba
install: install:
cp mango $(INSTALL_DIR)/mango cp mango $(INSTALL_DIR)/mango