blob: 6136ad6c71fd7a688c66002946bfd91d1ffc6430 (
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
25
26
27
28
29
30
31
|
TARGET = yomikun
SRCS += ./main.ts
SRCS += ./core/yomikun.ts
SRCS += ./db/db.ts
SRCS += ./language/tags.ts
SRCS += ./language/translator.ts
SRCS += ./language/types.ts
SRCS += ./util/array.ts
SRCS += ./util/error.ts
SRCS += ./util/string.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)
|