File tree Expand file tree Collapse file tree 2 files changed +21
-26
lines changed
Expand file tree Collapse file tree 2 files changed +21
-26
lines changed Original file line number Diff line number Diff line change @@ -4,22 +4,22 @@ sources:
44 - https://aur.archlinux.org/python-xdg-base-dirs.git
55 - https://aur.archlinux.org/python-dacite.git
66packages :
7+ - ruff
8+ - mypy
79 - python-pytest
810tasks :
9- - xdg-base-dirs : |
10- cd python-xdg-base-dirs
11- makepkg -si --noconfirm
12- - dacite : |
13- cd python-dacite
14- makepkg -si --noconfirm
15- - makepkg : |
16- cd qbpm/contrib
17- sed -i 's|^source.*|source=("git+file:///home/build/qbpm")|' PKGBUILD
18- sudo pacman -Sy
19- makepkg -si --noconfirm
20- - pytest : |
21- cd qbpm
22- pytest tests
11+ - format : ruff format --check qbpm
12+ - lint : ruff check qbpm
13+ - deps : |
14+ makepkg -si --noconfirm --dir python-xdg-base-dirs
15+ makepkg -si --noconfirm --dir python-dacite
16+ mkdir build
17+ cp qbpm/contrib/PKGBUILD build
18+ sed -i 's|^source.*|source=("git+file:///home/build/qbpm")|' build/PKGBUILD
19+ makepkg -s --noconfirm --dir build
20+ - types : mypy qbpm
21+ - tests : pytest qbpm/tests
22+ - install : makepkg -i --noconfirm --noextract --dir build
2323 - run : |
2424 mkdir -p ~/.config/qutebrowser
2525 touch ~/.config/qutebrowser/config.py
Original file line number Diff line number Diff line change @@ -4,15 +4,10 @@ sources:
44environment :
55 NIX_CONFIG : " experimental-features = nix-command flakes"
66tasks :
7- - format : |
8- cd qbpm
9- nix develop --quiet -c ruff format --check
10- - ruff : |
11- cd qbpm
12- nix develop -c ruff check
13- - mypy : |
14- cd qbpm
15- nix develop -c mypy src tests
16- - build : |
17- cd qbpm
18- nix build --quiet
7+ - build : nix build ./qbpm
8+ - install : nix profile install ./qbpm
9+ - run : |
10+ mkdir -p ~/.config/qutebrowser
11+ touch ~/.config/qutebrowser/config.py
12+ qbpm new profile
13+ qbpm list | grep profile
You can’t perform that action at this time.
0 commit comments