forked from pbek/QOwnNotes
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
36 lines (24 loc) · 962 Bytes
/
Makefile
File metadata and controls
36 lines (24 loc) · 962 Bytes
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
.PHONY: translations-build translations-download translations-upload translations-update-files nix-build nix-build-force
translations-build:
lrelease src/QOwnNotes.pro
translations-download:
./scripts/download_translations.sh
translations-upload:
crowdin upload
translations-update-files:
./scripts/update-translations.sh
nix-build:
nix-build -E '((import <nixpkgs> {}).qt6Packages.callPackage (import ./default.nix) { })'
nix-build-trace:
nix-build -E '((import <nixpkgs> {}).qt6Packages.callPackage (import ./default.nix) { })' --show-trace
nix-build-force:
nix-build -E '((import <nixpkgs> {}).qt6Packages.callPackage (import ./default.nix) { })' --check
src-build:
mkdir -p build-QOwnNotes; cd build-QOwnNotes && qmake "CONFIG+=debug USE_SYSTEM_BOTAN=1" ../src/QOwnNotes.pro && make
src-clean:
rm -rf build-QOwnNotes
src-run:
./build-QOwnNotes/QOwnNotes
src-build-run: src-build src-run
clang-format:
./scripts/clang-format-project.sh