-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
Justfile
49 lines (42 loc) · 1.74 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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
[private]
default:
just --list --justfile {{ justfile() }}
format:
indent src/*.c src/*.h -linux -nut -i4
translate:
meson compile -C _meson com.konstantintutsch.Lock-pot
meson compile -C _meson com.konstantintutsch.Lock-update-po
local:
flatpak remote-add --user --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak run org.flatpak.Builder --user --sandbox \
--force-clean --ccache --install-deps-from=flathub \
--repo=_repo _flatpak \
com.konstantintutsch.Lock.Devel.yaml
flatpak remote-add --if-not-exists --user --no-gpg-verify \
com-konstantintutsch-Lock-Devel \
file://$(pwd)/_repo
flatpak install --user --reinstall --assumeyes \
--include-sdk --include-debug \
com.konstantintutsch.Lock.Devel
GTK_DEBUG=interactive flatpak run \
com.konstantintutsch.Lock.Devel
debug:
flatpak-coredumpctl \
-m $(coredumpctl list -1 --no-pager --no-legend | grep -oE 'CEST ([0-9]+)' | awk '{print $2}') \
com.konstantintutsch.Lock.Devel
bundle:
flatpak build-bundle _repo _com.konstantintutsch.Lock.Devel.flatpak \
--runtime-repo=https://flathub.org/repo/flathub.flatpakrepo \
com.konstantintutsch.Lock.Devel
dist:
rm --verbose --interactive=never --recursive _*
rm --verbose --interactive=never --recursive .flatpak-builder
setup:
sudo dnf install -y indent
sudo dnf install -y meson
sudo dnf install -y libadwaita-devel
sudo dnf install -y gpgme-devel
flatpak install --user --assumeyes org.gnome.Platform//47
flatpak install --user --assumeyes org.gnome.Sdk//47
flatpak install --user --assumeyes org.gnome.Sdk.Debug//47
flatpak install --user --assumeyes org.flatpak.Builder