Skip to content

Commit

Permalink
update Makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
jcubic committed Jan 22, 2024
1 parent 26131c1 commit fa4a4dd
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
9 changes: 4 additions & 5 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
.PHONY: publish test coveralls lint zero coverage

VERSION=1.0.0-beta.18.1
VERSION_DASH=`echo -n "1.0.0-beta.18" | sed "s/-/%E2%80%93/"`
VERSION_DASH=`echo -n "1.0.0-beta.18.1" | sed "s/-/%E2%80%93/"`
BRANCH=`git branch | grep '^*' | sed 's/* //'`
DATE=`date -uR`
YEAR=`date +%Y`
Expand Down Expand Up @@ -108,12 +108,11 @@ test-file: dist/lips.js dist/std.min.scm
test-update: dist/lips.js dist/std.scm
@$(NPM) run test-update

zero:
@$(WGET) $(UNICODE_ALL) -O ./assets/UnicodeData.txt
fold:
@$(WGET) $(UNICODE_FOLD) -O ./assets/CaseFolding.txt

unicode: assets/UnicodeData.txt
@$(NODE) ./scripts/numerals.js
zero:
@$(WGET) $(UNICODE_ALL) -O ./assets/UnicodeData.txt

watch-test:
@inotifywait -m -e close_write src/lips.js tests/*.scm | while read even; do $(MAKE) --no-print-directory test; done
Expand Down
11 changes: 6 additions & 5 deletions templates/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ DATE_SHORT=`date +%Y-%m-%d`
TESTS_CHECKSUM=`cat tests/test.js tests/*.scm | md5sum | cut -d' ' -f 1`
COMMIT=`git rev-parse HEAD`
URL=`git config --get remote.origin.url`
UNICODE=https://unicode.org/Public/UNIDATA/UnicodeData.txt
UNICODE_ALL=https://unicode.org/Public/UNIDATA/UnicodeData.txt
UNICODE_FOLD=https://www.unicode.org/Public/UCD/latest/ucd/CaseFolding.txt

MAKE=make
GIT=git
Expand Down Expand Up @@ -107,11 +108,11 @@ test-file: dist/lips.js dist/std.min.scm
test-update: dist/lips.js dist/std.scm
@$(NPM) run test-update

zero:
@$(WGET) $(UNICODE) -O ./assets/UnicodeData.txt
fold:
@$(WGET) $(UNICODE_FOLD) -O ./assets/CaseFolding.txt

unicode: assets/UnicodeData.txt
@$(NODE) ./scripts/numerals.js
zero:
@$(WGET) $(UNICODE_ALL) -O ./assets/UnicodeData.txt

watch-test:
@inotifywait -m -e close_write src/lips.js tests/*.scm | while read even; do $(MAKE) --no-print-directory test; done
Expand Down

0 comments on commit fa4a4dd

Please sign in to comment.