-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathjustfile
More file actions
executable file
·50 lines (35 loc) · 872 Bytes
/
justfile
File metadata and controls
executable file
·50 lines (35 loc) · 872 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
38
39
40
41
42
43
44
45
46
#!/usr/bin/env just --justfile
set dotenv-load := true
# Show all available recipes
default:
@just --list --unsorted
#####################
# Lektor management #
#####################
# Install dependencies into the current environment
install:
@pipx --version || (echo "pipx is not installed. Please install it using 'python3 -m pip install --user pipx'." && exit 1)
pipx install lektor
# Build the site
build:
lektor build
# Run the site
up:
lektor serve
alias serve := up
# Clean the environment
clean:
lektor clean
# Deploy the site
deploy:
@just build
lektor deploy ghpages
##################
# Other commands #
##################
# Generate the program pages (talks & speakers)
generate-program:
@python3 scripts/init_program.py
# Generate the schedule CSV
generate-schedule:
@python3 scripts/generate_schedule.py