From e1fd2330c53367ec7e81dc900d025f923aefea7c Mon Sep 17 00:00:00 2001 From: thomas Date: Sat, 30 Jan 2021 19:25:22 +0100 Subject: [PATCH] fixes #396 add inc folder to tgz binary archive --- Makefile | 2 +- tools/codeload.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index c608932..ed20a71 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ zip: build find out/ -name "target" -print | zip -r out/stm8ef-bin -@ tgz: build - ( find out/ -path "*target/*" -print0 ; find out/ -name "*.ihx" -type f -print0 ; find out/ -name "simbreak.txt" -type f -print0 ) | tar -czvf out/stm8ef-bin.tgz forth.asm forth.mk main.c LICENSE.md docs/words.md mcu lib tools --null -T - + ( find out/ -path "*target/*" -print0 ; find out/ -name "*.ihx" -type f -print0 ; find out/ -name "simbreak.txt" -type f -print0 ) | tar -czvf out/stm8ef-bin.tgz forth.asm forth.mk main.c LICENSE.md docs/words.md inc mcu lib tools --null -T - ( find out/ -name "forth.rst" -type f -print0 ) | tar -czvf out/stm8ef-rst.tgz --null -T - build: words diff --git a/tools/codeload.py b/tools/codeload.py index e5f97f4..e88adaa 100755 --- a/tools/codeload.py +++ b/tools/codeload.py @@ -221,7 +221,7 @@ def upload(path): tstWord = m.group(2) line = m.group(3) txCon = notInDictionary(tstWord) ^ (cndWord == 'ifdef') - print('CX #' + cndWord, tstWord + ' (', txCon, ') ' + line) + vprint('CX #' + cndWord, tstWord + ' (', txCon, ') ' + line) if not txCon: continue