-
Notifications
You must be signed in to change notification settings - Fork 0
/
justfile
49 lines (36 loc) · 928 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
# Learn how to use justfile from pop-os/launcher!
# https://github.com/pop-os/launcher/blob/master/justfile
cursor_theme_name := 'test'
# Config directory here
basedir := ''
builddir := basedir / 'build'
assetsdir := basedir / 'assets'
pngdir := assetsdir / 'png'
local-install-dir := '~/.icons'
bootstrap:
scripts/bootstrap.sh {{cursor_theme_name}}
create-cursors:
rm -rf ./assets/png/**/*.cursor
scripts/create_cursors.sh {{pngdir}}
link:
scripts/link.sh
previewgen:
scripts/previewgen.sh
package:
scripts/package.sh {{builddir}}/{{cursor_theme_name}}
build:
rm -rf .{{builddir}}/*
rm -f ./cursors/*
just create-cursors
just link
just previewgen
just package
install-local:
mkdir -p {{local-install-dir}}
cp -r ./build/{{cursor_theme_name}} {{local-install-dir}}
batch-convert:
scripts/batch_convert.sh
remove-cur:
rm *.cur
remove-ani:
rm *.ani