aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2021-10-17 23:56:02 +0700
committerShulhan <ms@kilabit.info>2021-10-17 23:56:02 +0700
commitcf6100a626ea17a808a1bc96471c759b27c7c03b (patch)
tree83226ba51c2600c0beb169c2406ae47d75d04138 /Makefile
parent4707e8dcce49a56a04c4869c8042979fef616189 (diff)
downloadgorankusu-cf6100a626ea17a808a1bc96471c759b27c7c03b.tar.xz
all: merge all workers for related to development to internal/cmd
Previously, we have a workers to recompile TypeScript and regenerate HTML files from adoc inside the Trunks type. The workers will run if the environment variable TRUNKS_DEV set to non-zero. This changes move those workers to the internal/cmd/trunks-example, because those workers are related for development only not for running Trunks server.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 2 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 13c16a3..017f5a4 100644
--- a/Makefile
+++ b/Makefile
@@ -4,14 +4,9 @@
.PHONY: all run embed tsc
-all: embed
+all:
+ go run ./internal/cmd/trunks-example build
go test -v -race ./...
run:
go run ./internal/cmd/trunks-example
-
-embed: tsc
- go run ./internal/memfs-embed
-
-tsc:
- tsc -p _www/tsconfig.json