Skip to content

Commit b156171

Browse files
committed
Add a simple Makefile
Doing `make dev` should perform all the required steps starting from a fresh checkout. Just follows the process described in the README.
1 parent c9d1c13 commit b156171

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

Makefile

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
SHELL = /bin/bash
2+
3+
node_modules/.bin/rescript:
4+
npm install
5+
npm run update-index
6+
7+
build: node_modules/.bin/rescript
8+
node_modules/.bin/rescript
9+
npm run update-index
10+
11+
dev: build
12+
npm run dev
13+
14+
test: build
15+
npm run test
16+
17+
clean:
18+
rm -r node_modules lib
19+
20+
.DEFAULT_GOAL := build
21+
22+
.PHONY: clean test

0 commit comments

Comments
 (0)