Add back build target

Even though we changed the structure of the targets,
we can still make it easier on everyone if we keep the build target.
This commit is contained in:
joneshf 2018-07-29 12:26:42 -07:00
parent aeaf909528
commit 2fca1f2892
No known key found for this signature in database
GPG Key ID: C8FFFC4E889B880E

View File

@ -12,7 +12,7 @@ DOC_TEST := $(DIST)/build/doc-test/doc-test
GHCID := $(BIN)/ghcid
STACK_FLAGS := --verbosity $(VERBOSITY)
.DEFAULT_GOAL := $(EMPTY)/build
.DEFAULT_GOAL := build
$(BIN) $(DIST) $(EMPTY):
mkdir -p $@
@ -40,6 +40,9 @@ $(EMPTY)/stack-setup: | $(EMPTY)
$(GHCID): $(EMPTY)/stack-setup | $(BIN)
$(STACK) $(STACK_FLAGS) install ghcid --local-bin-path $(BIN)
.PHONT: build
build: $(EMPTY)/build
.PHONY: cabal-check
cabal-check: $(CABAL_FILE)
$(CABAL) check