-
Notifications
You must be signed in to change notification settings - Fork 5
/
Justfile
38 lines (33 loc) · 1.36 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
[private]
default:
just --list --justfile {{ justfile() }}
format:
indent src/*.c src/*.h -linux -nut -i4
translate:
meson compile -C _meson com.konstantintutsch.Caffeine-pot
meson compile -C _meson com.konstantintutsch.Caffeine-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 builddir \
com.konstantintutsch.Caffeine.Devel.yaml
flatpak remote-add --if-not-exists --user --no-gpg-verify \
com-konstantintutsch-Caffeine-Devel \
file://$(pwd)/_repo
flatpak install --user --reinstall --assumeyes \
--include-sdk --include-debug \
com.konstantintutsch.Caffeine.Devel
GTK_DEBUG=interactive flatpak run \
com.konstantintutsch.Caffeine.Devel
debug:
flatpak-coredumpctl \
-m $(coredumpctl list -1 --no-pager --no-legend | grep -oE 'CEST ([0-9]+)' | awk '{print $2}') \
com.konstantintutsch.Caffeine.Devel
setup:
sudo dnf install -y indent
sudo dnf install -y meson
sudo dnf install -y libadwaita-devel
flatpak install --user --assumeyes org.gnome.Platform//47
flatpak install --user --assumeyes org.gnome.Sdk//47
flatpak install --user --assumeyes org.flatpak.Builder