-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathjustfile
34 lines (29 loc) · 1.03 KB
/
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
default: setup build
alias i := setup
alias init := setup
[doc('pull icons from `src/vscode-icons` submodule')]
@setup:
git submodule update --init --recursive
mkdir -p icons
cp -r src/vscode-icons/icons/{frappe,latte,macchiato,mocha} icons/
# build catppuccin-icons.json Zed theme template
[working-directory: 'src']
@build:
deno task run
whiskers zed-icons.tera
echo "-- OK - Built 'icon_themes/catppuccin-icons.json'"
alias publish := deploy
[doc('git push tag to trigger PR request to zed-industries/extensions')]
[group('github')]
[confirm]
@deploy tag:
git tag -s {{ tag }} -m {{ tag }}
git push origin {{ tag }}
gh release create {{ tag }} --generate-notes --draft
[group('github')]
@act event_name="" +args="":
act -P ubuntu-24.04-arm=catthehacker/ubuntu:act-latest {{ event_name }} -s GITHUB_TOKEN="$(gh auth token)" {{ args }}
alias aj := act-job
[group('github')]
@act-job job_name:
act -P ubuntu-24.04-arm=catthehacker/ubuntu:act-latest -j {{ job_name }} -s GITHUB_TOKEN="$(gh auth token)"