Skip to content

Commit

Permalink
Add clean task
Browse files Browse the repository at this point in the history
  • Loading branch information
kbinani committed Jul 27, 2024
1 parent 75c6d00 commit 030ff02
Show file tree
Hide file tree
Showing 4 changed files with 730 additions and 2,347 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,10 @@ jobs:
key: node-modules-${{ hashFiles('package-lock.json') }}
restore-keys: |
node-modules-
- run: npm install
- run: npm run test
- run: |
npm install
make
npm run test
deploy:
needs: test
permissions:
Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
.PHONY: all
all: public/eot.ttf public/main.js
all: public/eot.ttf public/main.js src/insertions.ts src/static-data.ts

public/eot.ttf: deps/font-tools/EgyptianOpenType/font/eot.ttf
cp $< $@
Expand All @@ -12,3 +12,6 @@ src/insertions.ts: deps/font-tools/EgyptianOpenType/insertions.py

src/static-data.ts: deps/font-tools/EgyptianOpenType/font/eot.ttf node_modules/harfbuzzjs/hb.wasm
bash script/static-data.sh eot deps/font-tools/EgyptianOpenType/font/eot.ttf harfbuzz node_modules/harfbuzzjs/hb.wasm > $@

clean:
rm -f public/eot.ttf public/main.js src/insertions.ts src/static-data.ts
Loading

0 comments on commit 030ff02

Please sign in to comment.