blob: f32cbcfa1215b21845f5a002e4c063387d27d0f2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
TARGET = yomikun
# TODO: figure out distribution
SRCS += ./main.ts
DENO_FLAGS += --unstable
DENO_FLAGS += --allow-ffi
DENO_FLAGS += --allow-env
DENO_FLAGS += --allow-read
DENO_FLAGS += --allow-write
DENO_FLAGS += --allow-net
include test/tests.mk
.PHONY: build test
build: $(TARGET)
$(TARGET): $(SRCS)
deno compile --output $@ $< $(DENO_FLAGS)
test:
deno test $(DENO_FLAGS) $(TESTS)
|