Recently Written · git

minimalist-template

Another minimalist template for quickproject

git clone https://github.com/equwal/minimalist-template

Log | Files | Refs


commit 3af2f05f73b211ca5f089c5f3b52746ba54711c0
Spenser Truex <web@spensertruex.com>
2020-01-05 18:34:24 -0800

Another minimalist template for quickproject

 README.md                 | 15 +++++++++++++++
 template/README.md        | 12 ++++++++++++
 template/application.lisp |  6 ++++++
 template/package.lisp     |  7 +++++++
 template/system.asd       | 13 +++++++++++++
 5 files changed, 53 insertions(+)
diff --git a/README.md b/README.md
new file mode 100644
index 0000000..89eea8a
--- /dev/null
+++ b/README.md
@@ -0,0 +1,15 @@
+# Minimalist Template for [quickproject](https://github.com/xach/quickproject)
+- No header comments or newlines, unless the copyright is shown.
+- Use keywords `:package` rather than `#:package`.
+- Put author at the bottom of the README.md (as done here).
+
+## Install
+Customise the variable `*template-directory*` to the `template` directory of
+this repository.
+
+## License
+
+GNU GPL v3
+
+### _Spenser Truex <web@spensertruex.com>_
+
diff --git a/template/README.md b/template/README.md
new file mode 100644
index 0000000..5067b11
--- /dev/null
+++ b/template/README.md
@@ -0,0 +1,12 @@
+# (#| TMPL_VAR name |#)
+
+This is a project to do ... something.
+
+## License
+
+(#| TMPL_VAR license |#)
+
+### _(#| TMPL_VAR author |#)_(#| TMPL_IF copyright |#)
+
+(#| TMPL_VAR copyright |#)
+(#| /TMPL_IF |#)
diff --git a/template/application.lisp b/template/application.lisp
new file mode 100644
index 0000000..d555bce
--- /dev/null
+++ b/template/application.lisp
@@ -0,0 +1,6 @@
+(#| TMPL_IF copyright |#)
+;;;; (#| TMPL_VAR name |#).lisp
+;;
+;;;; (#| TMPL_VAR copyright |#)
+
+(#| /TMPL_IF |#)(in-package :(#| TMPL_VAR name |#))
diff --git a/template/package.lisp b/template/package.lisp
new file mode 100644
index 0000000..5d8f0a8
--- /dev/null
+++ b/template/package.lisp
@@ -0,0 +1,7 @@
+(#| TMPL_IF copyright |#)
+;;;; package.lisp
+;;
+;;;; (#| TMPL_VAR copyright |#)
+
+(#| /TMPL_IF |#)(defpackage :(#| TMPL_VAR name |#)
+  (:use #:cl))
diff --git a/template/system.asd b/template/system.asd
new file mode 100644
index 0000000..08d1a90
--- /dev/null
+++ b/template/system.asd
@@ -0,0 +1,13 @@
+(#| TMPL_IF copyright |#);;;; (#| TMPL_VAR name |#).asd
+;;
+;;;; (#| TMPL_VAR copyright |#)
+
+(#| /TMPL_IF |#)(asdf:defsystem :(#| TMPL_VAR name |#)
+  :description "Describe (#| TMPL_VAR name |#) here"
+  :author "(#| TMPL_VAR author |#)"
+  :license  "(#| TMPL_VAR license |#)"
+  :version "0.0.1"
+  :serial t(#| TMPL_IF depends-on |#)
+  :depends-on (#| TMPL_VAR dependencies-string |#)(#| /TMPL_IF |#)
+  :components ((:file "package")
+               (:file "(#| TMPL_VAR name |#)")))