From 03030ea62b59e859e068aa76eb1692dd1ef807f7 Mon Sep 17 00:00:00 2001 From: Filip Figiel Date: Mon, 23 May 2022 20:36:17 +0200 Subject: =?UTF-8?q?=F0=9F=94=80=F0=9F=93=9D=20add=20a=20fully-fledged=20ex?= =?UTF-8?q?ample=20project=20(#2)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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 --- example/Makefile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 example/Makefile (limited to 'example/Makefile') 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' -- cgit v1.2.3