mirror of
https://github.com/avinal/avinal.github.io.git
synced 2026-07-03 23:30:09 +05:30
@@ -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
|
||||||
@@ -48,9 +48,6 @@
|
|||||||
"script": [
|
"script": [
|
||||||
{
|
{
|
||||||
"src": "https://cdn.jsdelivr.net/npm/marked/marked.min.js"
|
"src": "https://cdn.jsdelivr.net/npm/marked/marked.min.js"
|
||||||
},
|
|
||||||
{
|
|
||||||
"src": "/js/redirect.js"
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -0,0 +1,8 @@
|
|||||||
|
[build]
|
||||||
|
command = "make all"
|
||||||
|
publish = "dist"
|
||||||
|
|
||||||
|
[[redirects]]
|
||||||
|
from = "/*"
|
||||||
|
to = "/index.html"
|
||||||
|
status = 200
|
||||||
Generated
+950
File diff suppressed because it is too large
Load Diff
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@tailwindcss/typography": "^0.5.8",
|
"@tailwindcss/typography": "^0.5.8",
|
||||||
|
"elm-land": "^0.18.0",
|
||||||
"tailwindcss": "^3.2.4"
|
"tailwindcss": "^3.2.4"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
blog CNAME inspiring-platypus-1ee137.netlify.app.
|
||||||
-1805
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user