tangled
alpha
login
or
join now
kacaii.dev
/
sigo
0
fork
atom
๐ฉโ๐ Firefighters API written in Gleam!
lustre
gleam
0
fork
atom
overview
issues
pulls
pipelines
:hammer: build css files before container
kacaii.dev
1 week ago
c44fa0b4
34317473
verified
This commit was signed with the committer's
known signature
.
kacaii.dev
SSH Key Fingerprint:
SHA256:n9v7QGNWHCUv1x/483hCtPUvTsVabU5PzC5CSJMUNtI=
+10
-3
3 changed files
expand all
collapse all
unified
split
.dockerignore
client
justfile
justfile
+1
.dockerignore
···
15
15
.sqruff
16
16
17
17
# client
18
18
+
client/node_modules
18
19
client/build
19
20
client/dev
20
21
cliend/test
+8
-3
client/justfile
···
5
5
just --list
6
6
7
7
# Build CSS and JS runtime
8
8
-
build:
8
8
+
build: tailwind-build
9
9
+
gleam run -m lustre/dev build
10
10
+
11
11
+
# generate css
12
12
+
tailwind-build:
13
13
+
npm ci || npm install
9
14
npx @tailwindcss/cli -i {{ input_css }} -o {{ output_css }}
10
10
-
gleam run -m lustre/dev build
11
15
12
12
-
# Watch for file changes
16
16
+
# Watch for file changes and generate css
13
17
tailwind-watch:
18
18
+
npm ci || npm install
14
19
npx @tailwindcss/cli -i {{ input_css }} -o {{ output_css }} --watch
15
20
16
21
# Update project dependencies
+1
justfile
···
72
72
# Build application container
73
73
[group("podman")]
74
74
_build-backend:
75
75
+
just client::tailwind-build
75
76
@podman build -t backend .
76
77
77
78
# Create pod