Vim window logic, slimv

This commit is contained in:
Ian Keane 2020-02-24 20:27:04 -05:00
parent babcc9e44b
commit 515847d07e
791 changed files with 51552 additions and 86 deletions

View file

@ -0,0 +1,8 @@
*.fasl
*.dx32fsl
*.dx64fsl
*.lx32fsl
*.lx64fsl
*.x86f
*~
.#*

View file

@ -0,0 +1,21 @@
# <%= (string-capitalize (getf env :name)) %><% @if description %> - <% @var description %><% @endif %>
## Usage
## Installation
<%- @if author %>
## Author
* <% @var author %><% @if email %> (<% @var email %>)<% @endif %>
## Copyright
Copyright (c) <%= (local-time:timestamp-year (local-time:now)) %> <% @var author %><% @if email %> (<% @var email %>)<% @endif %>
<%- @endif %>
<%- @if license %>
## License
Licensed under the <% @var license %> License.
<%- @endif %>

View file

@ -0,0 +1,21 @@
* <%= (string-capitalize (getf env :name)) %> <% @if description %> - <% @var description %><% @endif %>
** Usage
** Installation
<%- @if author %>
** Author
+ <% @var author %><% @if email %> (<% @var email %>)<% @endif %>
** Copyright
Copyright (c) <%= (local-time:timestamp-year (local-time:now)) %> <% @var author %><% @if email %> (<% @var email %>)<% @endif %>
<%- @endif %>
<%- @if license %>
** License
Licensed under the <% @var license %> License.
<%- @endif %>

View file

@ -0,0 +1,24 @@
(defsystem "<% @var name %>"
:version "0.1.0"
:author "<% @var author %>"
:license "<% @var license %>"
:depends-on (<% (format t "~{\"~(~A~)\"~^~% ~}"
(getf env :depends-on)) %>)
:components ((:module "src"
:components
((:file "main"))))
:description "<% @var description %>"
<%- @unless without-tests %>
:in-order-to ((test-op (test-op "<% @var name %>/tests")))
<%- @endunless %>)
(defsystem "<% @var name %>/tests"
:author "<% @var author %>"
:license "<% @var license %>"
:depends-on ("<% @var name %>"
"rove")
:components ((:module "tests"
:components
((:file "main"))))
:description "Test system for <% @var name %>"
:perform (test-op (op c) (symbol-call :rove :run c)))

View file

@ -0,0 +1,5 @@
(defpackage <% @var name %>
(:use :cl))
(in-package :<% @var name %>)
;; blah blah blah.

View file

@ -0,0 +1,11 @@
(defpackage <% @var name %>/tests/main
(:use :cl
:<% @var name %>
:rove))
(in-package :<% @var name %>/tests/main)
;; NOTE: To run this test file, execute `(asdf:test-system :<% @var name %>)' in your Lisp.
(deftest test-target-1
(testing "should (= 1 1) to be true"
(ok (= 1 1))))