@@ 6,10 6,13 @@ include profiles.mk
GUIX_PROFILE=target/profiles/guix
GUIX=${GUIX_PROFILE}/bin/guix
PINKY_CONFIGURATION=src/tropin/machines.scm
+GUILE=${GUIX} shell guile-next haunt guile-ares-rs -- guile
RDE_DIR=~/work/abcdw/rde
GUIX_DIR=~/work/gnu/guix
+guile: guix
+
target:
mkdir -p ./target
@@ 35,16 38,20 @@ deploy-pinky: guix
${GUIX} deploy ${PINKY_CONFIGURATION} ${GUIX_EXTRA_ARGS} \
-x -- sudo herd restart nginx
-serve:
- guile -c '((@ (haunt serve web-server) serve) "target/site/html")'
+serve: guile
+ ${GUILE} -c '((@ (haunt serve web-server) serve) "target/site/html")'
-site:
- guile -L ./src -c \
+site: guile
+ ${GUILE} -L ./src -c \
'((@ (haunt site) build-site) (@ (tropin site) main-site))'
repl: guix
+ # guile --listen -L ./src
${GUIX} repl --listen=tcp:37146 -L ./src
+ares-rs: guile
+ ${GUILE} -L ./src -c '((@ (nrepl server) run-nrepl-server) #:port 7888)'
+
rde-manual: target ../rde/doc/rde.html
mkdir -p ./target/site/html/rde
cp ../rde/doc/rde.html ./target/site/html/rde/manual.html