-
Notifications
You must be signed in to change notification settings - Fork 1
/
Justfile
29 lines (21 loc) · 950 Bytes
/
Justfile
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
root := justfile_directory()
export TYPST_ROOT := root
[private]
default:
@just --list --unsorted
# Package the library into the specified destination folder
package target:
./scripts/package "{{target}}"
# Install the library with the "@local" prefix
install: (package "@local")
# Install the library with the "@preview" prefix (for pre-release testing)
install-preview: (package "@preview")
[private]
remove target:
./scripts/uninstall "{{target}}"
# Uninstalls the library from the "@local" prefix
[confirm("Are you sure you want to uninstall the library \"@local\"? This will remove all files and directories associated with the library.")]
uninstall: (remove "@local")
# Uninstalls the library from the "@preview" prefix (for pre-release testing)
[confirm("Are you sure you want to uninstall the library \"@preview\"? This will remove all files and directories associated with the library.")]
uninstall-preview: (remove "@preview")