aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2022-11-03 21:14:50 +0100
committerMitja Felicijan <mitja.felicijan@gmail.com>2022-11-03 21:14:50 +0100
commit8282239d1cf73ed8e992dc121f45df29fcb2c872 (patch)
treee8345e8449c8a53942efd3eaff3300fe597aa5c2 /Makefile
parentbdc60d7d56b5384f13feaaccef28e63d77f15933 (diff)
downloadmitjafelicijan.com-8282239d1cf73ed8e992dc121f45df29fcb2c872.tar.gz
Move to Tailwind 3
Diffstat (limited to 'Makefile')
-rwxr-xr-xMakefile21
1 files changed, 19 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 67c54b9..1bd84a3 100755
--- a/Makefile
+++ b/Makefile
@@ -1,7 +1,23 @@
1dev: openring 1MAKEFLAGS=-j4
2
3dev: tailwind-watch dev-server
4
5dev-server: openring
2 hugo server --bind=0.0.0.0 --buildDrafts 6 hugo server --bind=0.0.0.0 --buildDrafts
3 7
4deploy: openring 8tailwind-watch:
9 npx tailwindcss \
10 -i ./themes/simple/static/css/tailwind.css \
11 -o ./static/general/index.css \
12 --jit --minify --watch
13
14tailwind-build:
15 npx tailwindcss \
16 -i ./themes/simple/static/css/tailwind.css \
17 -o ./static/general/index.css \
18 --jit --minify
19
20deploy: openring tailwind-build
5 hugo --gc --minify 21 hugo --gc --minify
6 rsync -az --delete public/ root@165.22.87.180:/var/www/html/mitjafelicijan.com/ 22 rsync -az --delete public/ root@165.22.87.180:/var/www/html/mitjafelicijan.com/
7 ssh root@165.22.87.180 chown www-data:www-data /var/www/html/mitjafelicijan.com/ -Rf 23 ssh root@165.22.87.180 chown www-data:www-data /var/www/html/mitjafelicijan.com/ -Rf
@@ -18,6 +34,7 @@ openring:
18 > themes/simple/layouts/partials/openring.html 34 > themes/simple/layouts/partials/openring.html
19 35
20provision: 36provision:
37 npm install
21 cd ~/Junk \ 38 cd ~/Junk \
22 git clone https://git.sr.ht/~sircmpwn/openring \ 39 git clone https://git.sr.ht/~sircmpwn/openring \
23 cd openring \ 40 cd openring \