-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
48 lines (34 loc) · 994 Bytes
/
Makefile
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
BUN = bun
BUNX = bunx --bun
MONOBUNDLE = $(BUN) ./nodedevpkg/monobundle/src/bin/index.ts
serve:
go run ./cmd/webappserve serve --help
go run ./cmd/webappserve serve --root=./cmd/webappserve/example/normal
serve.base.href:
go run ./cmd/webappserve serve --base-href=/example --root=./cmd/webappserve/example/base
tidy:
go mod tidy
dep:
$(BUN) install
dep.update:
$(BUNX) taze -w -r latest
bootstrap: build.monobundle
$(BUNX) monobundle
build.monobundle:
$(BUNX) turbo run build --filter="@innoai-tech/monobundle" --force
$(BUN) install
lint:
$(BUNX) turbo run lint --filter="@innoai-tech/monobundle" --force
test:
$(BUN) test
build:
$(BUNX) turbo run build --filter="!@innoai-tech/monobundle" --force --concurrency=1
ci: bootstrap build test
pub:
$(BUNX) @morlay/bunpublish
ship:
TTY=0 piper do ship push
clean:
find . -name '.turbo' -type d -prune -print -exec rm -rf '{}' \;
find . -name 'node_modules' -type d -prune -print -exec rm -rf '{}' \;
rm -f bun.lockb