aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-12-16 17:08:59 +0300
committerMunyoki Kilyungi2024-12-16 17:08:59 +0300
commit709bf8076c4d1d94ba42e151c202a9ffeac048fb (patch)
treeddeff2d93227622179d4ae63ef7ffb51d65a6932 /bin
parent798e2adce714d8ed21092f558bebfb0d344b12dd (diff)
downloadgn-guile-709bf8076c4d1d94ba42e151c202a9ffeac048fb.tar.gz
Add gn-guile-server script.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'bin')
-rwxr-xr-xbin/gn-guile-server8
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/gn-guile-server b/bin/gn-guile-server
new file mode 100755
index 0000000..291d4fa
--- /dev/null
+++ b/bin/gn-guile-server
@@ -0,0 +1,8 @@
+#!/usr/bin/env sh
+exec guile --no-auto-compile -s "$0" "$@"
+!#
+
+(use-modules (web webserver)
+ (srfi srfi-1))
+
+(main (command-line))