more makefiles updates
This commit is contained in:
parent
6b53dc5cff
commit
447b936e45
1 changed files with 6 additions and 3 deletions
9
makefile
9
makefile
|
|
@ -5,7 +5,10 @@ UNAME_M := $(shell uname -m)
|
||||||
all: switch
|
all: switch
|
||||||
|
|
||||||
switch: prep
|
switch: prep
|
||||||
doas nixos-rebuild switch --flake .#${HOSTNAME} &> nixos-switch.log || ( grep --color error nixos-switch.log && false)
|
@alejandra . &> nixos-switch.log || ( cat nixos-switch.log && false)
|
||||||
|
@rm nixos-switch.log
|
||||||
|
@echo Running nixos-rebuild switch
|
||||||
|
@doas nixos-rebuild switch --flake .#${HOSTNAME} &> nixos-switch.log || ( grep --color error nixos-switch.log && false)
|
||||||
|
|
||||||
weekly: pull clean update switch ci push clean
|
weekly: pull clean update switch ci push clean
|
||||||
|
|
||||||
|
|
@ -24,10 +27,10 @@ push:
|
||||||
git push
|
git push
|
||||||
|
|
||||||
pull:
|
pull:
|
||||||
@. ~/.bash_ssh
|
# @. ~/.bash_ssh
|
||||||
git pull
|
git pull
|
||||||
doas nix-prefetch-url file://$$PWD/$$(ls -1 src/linuxx64* | tail -n1)
|
doas nix-prefetch-url file://$$PWD/$$(ls -1 src/linuxx64* | tail -n1)
|
||||||
# doas nix-prefetch-url file://$$PWD/$$(ls -1 src/linuxarm64* | tail -n1)
|
# doas nix-prefetch-url file://$$PWD/$$(ls -1 src/linuxarm64* | tail -n1)
|
||||||
|
|
||||||
ci:
|
ci:
|
||||||
git commit -m"updates from makefile" --all
|
git commit -m"updates from makefile" --all
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue