Skip to content

Commit

Permalink
(apro) Merge remote-tracking branch 'origin/master' into lukeshu/load…
Browse files Browse the repository at this point in the history
…-testing
  • Loading branch information
LukeShu committed Jul 19, 2019
2 parents c14c4c4 + 09b5c5d commit 0f2eb69
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion common.mk
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
# - .PHONY Target: format
# - .PHONY Target: clean
# - .PHONY Target: clobber
# - Alias: bin/% -> bin_$(GOHOSTOS)_$(GOHOSTARCH)/%
## common.mk targets ##
# (N/A)
ifeq ($(words $(filter $(abspath $(lastword $(MAKEFILE_LIST))),$(abspath $(MAKEFILE_LIST)))),1)
Expand Down Expand Up @@ -71,9 +72,15 @@ clobber: clean
clean: _common_clean
_common_clean:
rm -rf -- bin_*
rm -f test-suite.tap
rm -f bin test-suite.tap
.PHONY: _common_clean

bin/%: bin_$(GOHOSTOS)_$(GOHOSTARCH)/% | bin
@test -e $@ && test -f $@ && test -x $@
bin:
@rm -f $@
ln -s bin_$(GOHOSTOS)_$(GOHOSTARCH)/ $@

check: lint build
$(MAKE) test-suite.tap.summary
test-suite.tap:
Expand Down

0 comments on commit 0f2eb69

Please sign in to comment.