Moved asserts to remove copy of mofified files after assert.
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -9s
All checks were successful
Run test asserts / Test-Asserts (push) Successful in -9s
This commit is contained in:
parent
b175f499d4
commit
6f677b6c43
10 changed files with 181 additions and 141 deletions
10
src/dist/0module.mk
vendored
10
src/dist/0module.mk
vendored
|
|
@ -1,10 +1,10 @@
|
|||
|
||||
DIST_MOD := dist
|
||||
DIST_SRC := src/$(DIST_MOD)
|
||||
DIST_SRC := $(PATH_SRC)/$(DIST_MOD)
|
||||
DIST_BIN := $(PATH_BIN)/$(DIST_MOD)
|
||||
DIST_OUT := $(PATH_BIN)/$(DIST_MOD).tar.gz
|
||||
DIST_DEPS := $(DIST_BIN)/readme.txt $(DIST_BIN)/ahello1.com $(DIST_BIN)/ahello2.com
|
||||
BUILD_HELP += \\n\\t* $(DIST_OUT)\\n\\t* dist-prepare
|
||||
BUILD_HELP += \\n\\t* $(DIST_BIN)/@prepare\\n\\t* $(DIST_OUT)
|
||||
|
||||
$(DIST_BIN):
|
||||
$(call mb_mkdir,$(DIST_BIN))
|
||||
|
|
@ -18,8 +18,8 @@ $(DIST_BIN)/ahello1.com: bin/ahello-m80/ahello.com | $(DIST_BIN)
|
|||
$(DIST_BIN)/ahello2.com: bin/ahello-sdcc/ahello.com | $(DIST_BIN)
|
||||
$(call mb_copy,$<,$@)
|
||||
|
||||
.PHONY: dist-prepare
|
||||
dist-prepare: | $(DIST_DEPS)
|
||||
.PHONY: $(DIST_BIN)/@prepare
|
||||
$(DIST_BIN)/@prepare: | $(DIST_DEPS)
|
||||
|
||||
$(DIST_OUT): | dist-prepare
|
||||
$(DIST_OUT): | $(DIST_BIN)/@prepare
|
||||
$(call mb_create_dist,$(DIST_OUT),$(DIST_BIN))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue