# Every target always does its work; nothing is skipped based on file times.

TSC ?= tsc
NODE ?= node

.PHONY: all build test bundle

all: test bundle

build:
	rm -rf build
	$(TSC) -p .

test: build
	$(NODE) --test build/test/*.test.js

bundle: build
	$(NODE) build/tools/bundle.js
