Skip to content

Commit

Permalink
Add a simple Makefile
Browse files Browse the repository at this point in the history
Doing `make dev` should perform all the required steps starting from a fresh checkout.
Just follows the process described in the README.
  • Loading branch information
cristianoc committed Sep 22, 2022
1 parent c9d1c13 commit b156171
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
SHELL = /bin/bash

node_modules/.bin/rescript:
npm install
npm run update-index

build: node_modules/.bin/rescript
node_modules/.bin/rescript
npm run update-index

dev: build
npm run dev

test: build
npm run test

clean:
rm -r node_modules lib

.DEFAULT_GOAL := build

.PHONY: clean test

0 comments on commit b156171

Please sign in to comment.