-
Notifications
You must be signed in to change notification settings - Fork 29
/
Makefile
43 lines (31 loc) · 781 Bytes
/
Makefile
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
# Declare the default target
.DEFAULT_GOAL := run
# Define the targets
flatpak:
mkdir -p repo
flatpak-builder --repo=repo --force-clean build-dir io.github.dvlv.boxbuddyrs.json
flatpak build-bundle repo boxbuddy.flatpak io.github.dvlv.boxbuddyrs
run:
GSETTINGS_SCHEMA_DIR=. cargo run
lint:
cargo fmt
cargo clippy
potfile:
bash scripts/create-pot.sh
# Declare a phony target for clean
.PHONY: clean
clean:
rm -rf build-dir/*
rm -rf target/*
rm -rf .flatpak-builder/*
clean-flatpak:
rm -rf build-dir/*
rm -rf .flatpak-builder/*
version-check:
bash scripts/version-check.sh
translate:
bash scripts/compile-translations.sh
update-translations:
bash scripts/update-translations.sh
f40:
GETTEXT_SYSTEM=true cargo build --release && target/release/boxbuddy-rs