summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2016-08-11 22:50:17 -0400
committerDavid Thompson <dthompson2@worcester.edu>2016-08-11 22:50:17 -0400
commit54f85fc9ef316a355e432a7461aac36282742614 (patch)
treedd0ca233933e6fda348936e76cbf4d0784924e2f /scripts
parenta06ff79a3276fb336fc00ff8c4c9ab1209f3441f (diff)
Add 'sly' CLI program.
* scripts/sly.in: New file. * sly/cli.scm: New file. * Makefile.am (SOURCES): Add it. * configure.ac: Process scripts/sly.in to produce sly executable. * pre-inst-env.in: Fix $PATH to include scripts directory.
Diffstat (limited to 'scripts')
-rw-r--r--scripts/sly.in24
1 files changed, 24 insertions, 0 deletions
diff --git a/scripts/sly.in b/scripts/sly.in
new file mode 100644
index 0000000..b95cee4
--- /dev/null
+++ b/scripts/sly.in
@@ -0,0 +1,24 @@
+#!@GUILE@ --no-auto-compile
+-*- scheme -*-
+!#
+
+;;; Sly
+;;; Copyright (C) 2016 David Thompson <davet@gnu.org>
+;;;
+;;; This program is free software: you can redistribute it and/or
+;;; modify it under the terms of the GNU General Public License as
+;;; published by the Free Software Foundation, either version 3 of the
+;;; License, or (at your option) any later version.
+;;;
+;;; This program is distributed in the hope that it will be useful,
+;;; but WITHOUT ANY WARRANTY; without even the implied warranty of
+;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+;;; General Public License for more details.
+;;;
+;;; You should have received a copy of the GNU General Public License
+;;; along with this program. If not, see
+;;; <http://www.gnu.org/licenses/>.
+
+(use-modules (sly cli))
+
+(sly-main (cdr (command-line)))