summaryrefslogtreecommitdiff
path: root/justfile
blob: 023979c33683afb73308452cb648c34ef8f468ad (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
run:
    python -mkodereviewer

copy-assets:
    mkdir -p share/locales/es/LC_MESSAGES/
    mkdir -p share/applications/
    mkdir -p share/icons/hicolor/scalable/apps/

    cp po/es.mo share/locales/es/LC_MESSAGES/
    cp org.deprecated.kodereviewer.svg share/icons/hicolor/scalable/apps/
    cp org.deprecated.kodereviewer.desktop share/applications

build-python: copy-assets
    python -mbuild

build-flatpak:
    flatpak-builder --verbose --force-clean flatpak-build-dir org.deprecated.kodereviewer.yml

qmltypes:
    # If this fails, comment __main__.py code
    pyside6-qml-stubgen kodereviewer/ --out-dir ./qmltypes/

gammaray:
    gammaray --probe qt6_8-x86_64 python -mkodereviewer