-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathJustfile
More file actions
37 lines (26 loc) · 822 Bytes
/
Justfile
File metadata and controls
37 lines (26 loc) · 822 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
default: install build
nix:
nix-shell --run fish
install-tailwind:
curl -sLO https://github.com/tailwindlabs/tailwindcss/releases/download/v3.4.1/tailwindcss-linux-x64
chmod +x tailwindcss*
mkdir -p bin
mv tailwindcss* bin/tailwindcss
install-pagefind:
cargo install pagefind@1.4.0
install: install-tailwind install-pagefind
bips:
git submodule init && git submodule update --recursive --remote
tailwind:
./bin/tailwindcss -c web/tailwind.config.js -i web/static/style.tailwind.css -o web/static/style.css --minify
pagefind:
pagefind --site web/public
static:
./scripts/static.sh
generate:
find bips -maxdepth 1 -type f -name 'bip-*' \
| cargo run -- generate
[working-directory: 'web']
zola:
zola build
build: bips tailwind static generate zola pagefind