mirror of
https://github.com/avinal/avinal.github.io.git
synced 2026-07-03 23:30:09 +05:30
feat: use new theme for the website
Signed-off-by: Avinal Kumar <avinal.xlvii@gmail.com> rh-pre-commit.version: 2.3.2 rh-pre-commit.check-secrets: ENABLED
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
# build everything for production
|
||||
all: css build
|
||||
@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
|
||||
hugo --source blog --destination ../dist --minify
|
||||
|
||||
# compile and watch for dev
|
||||
elm-serve:
|
||||
npx elm-land server
|
||||
|
||||
# build css and watch
|
||||
css-serve:
|
||||
npx tailwindcss -i ./src/input.css -o ./static/main.css --watch
|
||||
|
||||
# clean
|
||||
clean:
|
||||
rm -rf dist
|
||||
rm -rf blog/public
|
||||
Reference in New Issue
Block a user