diff options
| author | EuAndreh <eu@euandre.org> | 2023-03-16 19:28:01 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2023-03-16 19:28:01 -0300 |
| commit | d27e5becd08891315842739a0e0192b8eea7f041 (patch) | |
| tree | d9c404baadf57e6c7f421bc4aa5cb1d83c23f3fd /Makefile | |
| parent | gc.sh: Do not "sudo -u deployer" since we are already root (diff) | |
| download | server-d27e5becd08891315842739a0e0192b8eea7f041.tar.gz server-d27e5becd08891315842739a0e0192b8eea7f041.tar.xz | |
Makefile: Build system on "all" target with symlink at "result"
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -2,7 +2,14 @@ -all: +all: result + + +result: ALWAYS + rm -f result-next + guix system -v3 -r result-next build src/infrastructure/guix/system.scm + rm -f result + mv result-next result check: @@ -10,6 +17,7 @@ check: clean: rm -rf \ src/secrets/*.txt src/infrastructure/keys/SSH/*.stripped \ + result result-next \ public: @@ -53,3 +61,6 @@ upload-secrets: $(prod-secrets.txt) $(public-ssh).stripped ## it to rsync.net. upload-keys: cat src/infrastructure/keys/SSH/*.txt | ssh suyin dd of=.ssh/authorized_keys + + +ALWAYS: |
