From 77b0f69d0c6e555349dd491d7ca209924d119e61 Mon Sep 17 00:00:00 2001 From: Matt Kosarek Date: Wed, 11 Mar 2026 17:49:05 -0400 Subject: Migrate to astro --- Makefile | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'Makefile') diff --git a/Makefile b/Makefile index 2491e29..b1eedca 100644 --- a/Makefile +++ b/Makefile @@ -1,10 +1,6 @@ -.PHONY: all posts themes copy clean +.PHONY: all themes copy-themes build dev clean -all: copy - -posts: - mkdir -p ./public/posts - emacs -Q --script publish.el +all: build themes/builddir: meson setup themes themes/builddir --cross-file themes/emscripten.ini @@ -12,11 +8,17 @@ themes/builddir: themes: themes/builddir meson compile -C themes/builddir -copy: posts themes +copy-themes: themes mkdir -p ./public/themes/dist rsync -a themes/dist/ ./public/themes/dist/ mkdir -p ./public/themes/src/_shaders rsync -a themes/src/_shaders/ ./public/themes/src/_shaders/ +build: copy-themes + npm run build + +dev: + npm run dev + clean: - rm -rf public/themes + rm -rf dist public/themes -- cgit v1.2.1