1
0
mirror of https://github.com/avinal/avinal.github.io.git synced 2026-07-03 23:30:09 +05:30

add netlify

Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com>
This commit is contained in:
2023-01-03 13:32:39 +05:30
parent 961c1897c1
commit beb5acf322
7 changed files with 987 additions and 1808 deletions
+27
View File
@@ -0,0 +1,27 @@
# build everything for production
all: css build
@echo "--- copying content to dist"
cp -a content dist/content
@echo "--- production build finished"
# build only css for production
css:
@echo "--- building tailwind css"
npx tailwindcss -i ./src/input.css -o ./static/main.css --minify
# compile only elm for production
build:
@echo "--- compiling elm land project"
npx elm-land build
# compile and watch for dev
elm-serve:
npx elm-land serve
# build css and watch
css-serve:
npx tailwindcss -i ./src/input.css -o ./static/main.css --watch
# clean
clean:
rm -rf dist