tangled
alpha
login
or
join now
kacaii.dev
/
blog
0
fork
atom
💻 My personal website
blog.kacaii.dev/
blog
gleam
lustre
0
fork
atom
overview
issues
pulls
pipelines
:bulb: add groups to recipes
kacaii.dev
1 month ago
51542898
ce6c5282
+18
-9
1 changed file
expand all
collapse all
unified
split
justfile
+18
-9
justfile
···
7
7
default:
8
8
just --list
9
9
10
10
+
# Generate slug for posts
11
11
+
[confirm(" Update post titles?")]
12
12
+
[group('dev')]
13
13
+
slug:
14
14
+
gleam dev -- update_titles
15
15
+
16
16
+
# Generate static files
17
17
+
[group('production')]
18
18
+
build: tailwind
19
19
+
gleam run
20
20
+
21
21
+
# Deploy app on Cloudflare Pages
22
22
+
[group('production')]
23
23
+
deploy: build
24
24
+
npx wrangler pages deploy {{ dist }}
25
25
+
10
26
# Build CSS output file
27
27
+
[group('tailwind')]
11
28
[no-cd]
12
29
tailwind:
13
30
npx @tailwindcss/cli -i {{ input_css }} -o {{ output_css }}
14
31
15
32
# Start Tailwind file watching
33
33
+
[group('tailwind')]
16
34
[no-cd]
17
35
tailwind-watch:
18
36
npx @tailwindcss/cli -i {{ input_css }} -o {{ output_css }} --watch
19
19
-
20
20
-
# Generate slug for posts
21
21
-
[confirm(" Update post titles?")]
22
22
-
slug:
23
23
-
gleam dev -- update_titles
24
24
-
25
25
-
# Deploy app
26
26
-
deploy:
27
27
-
npx wrangler pages deploy {{ dist }}