Skip to content

Commit 05f26bb

Browse files
committed
add makefile for tests
1 parent 12b4022 commit 05f26bb

File tree

2 files changed

+28
-0
lines changed

2 files changed

+28
-0
lines changed
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
SHELL = /bin/bash
2+
3+
node_modules/.bin/tsc:
4+
npm install
5+
6+
test: node_modules/.bin/tsc
7+
npm run build
8+
9+
clean:
10+
rm -rf node_modules lib src/*.bs.js src/*.gen.tsx
11+
12+
.DEFAULT_GOAL := test
13+
14+
.PHONY: clean test
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
SHELL = /bin/bash
2+
3+
node_modules/.bin/tsc:
4+
npm install
5+
6+
test: node_modules/.bin/tsc
7+
npm run build
8+
9+
clean:
10+
rm -rf node_modules lib src/*.bs.js src/*.gen.tsx
11+
12+
.DEFAULT_GOAL := test
13+
14+
.PHONY: clean test

0 commit comments

Comments
 (0)