Skip to content

Commit 3155893

Browse files
committed
Remove verbosity if not otherwise requested
1 parent 3f07fa0 commit 3155893

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

compiler/Makefile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,12 @@
11
.PHONY: test
22

3+
build: VERBOSITY_FLAG =
34
build:
4-
stack -v build $(STACK_OPTS)
5+
stack $(VERBOSITY_FLAG) build $(STACK_OPTS)
56
mkdir -p ./../bin
6-
stack -v install $(STACK_OPTS) --local-bin-path ./../bin/
7+
stack $(VERBOSITY_FLAG) install $(STACK_OPTS) --local-bin-path ./../bin/
8+
build/verbose:
9+
$(MAKE) $(MAKE_FLAGS) build VERBOSITY_FLAG="-v"
710

811
clean:
912
rm *.cabal

0 commit comments

Comments
 (0)