aboutsummaryrefslogtreecommitdiff
path: root/example/Makefile
diff options
context:
space:
mode:
authorFilip Figiel <figiel.filip@gmail.com>2022-05-23 20:36:17 +0200
committerGitHub <noreply@github.com>2022-05-23 19:36:17 +0100
commit03030ea62b59e859e068aa76eb1692dd1ef807f7 (patch)
tree5ae3914488446e52ebc27f341e9d10942ad01bb9 /example/Makefile
parentcb67e922d996077154dfdd05961071b2cc8cc7fc (diff)
downloadlustre-03030ea62b59e859e068aa76eb1692dd1ef807f7.tar.gz
lustre-03030ea62b59e859e068aa76eb1692dd1ef807f7.zip
🔀📝 add a fully-fledged example project (#2)
* docs: add a full-fledged example project * fix: use correct script path * docs: improve example readme commands * chore: ignore the dist folder * chore: cleanup the makefile
Diffstat (limited to 'example/Makefile')
-rw-r--r--example/Makefile13
1 files changed, 13 insertions, 0 deletions
diff --git a/example/Makefile b/example/Makefile
new file mode 100644
index 0000000..1a6e445
--- /dev/null
+++ b/example/Makefile
@@ -0,0 +1,13 @@
+.PHONY: dev
+
+.DEFAULT_GOAL:= dist
+
+dist:
+ rm -rf dist
+ gleam build
+ npx vite build
+
+dev:
+ npx concurrently \
+ vite \
+ 'watchexec --filter "src/*" gleam build'