Add empty run
authorFrank Duncan <frank@kank.net>
Thu, 30 Apr 2015 20:56:08 +0000 (15:56 -0500)
committerFrank Duncan <frank@kank.net>
Fri, 1 May 2015 15:37:11 +0000 (10:37 -0500)
13 files changed:
.gitignore [new file with mode: 0644]
.travis.yml
bin/run.lisp [new file with mode: 0644]
bin/test.lisp [new file with mode: 0644]
bin/test.sh [deleted file]
deps/cl-nl-test.asd [new symlink]
deps/cl-nl.asd [new symlink]
src/main/cl-nl.asd [new file with mode: 0644]
src/main/main.lisp [new file with mode: 0644]
src/main/package.lisp [new file with mode: 0644]
src/test/cl-nl-test.asd [new file with mode: 0644]
src/test/main.lisp [new file with mode: 0644]
src/test/package.lisp [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..a9a5aec
--- /dev/null
@@ -0,0 +1 @@
+tmp
index 7493a0dee9a100a5c22587e205f564733bd55d63..244480cc6ad1b6939f1fe4b1cce28a9900eb606c 100644 (file)
@@ -1,3 +1,12 @@
-language: scala
+before_install:
+  - mkdir -p $HOME/sbcl
+  - mkdir -p tmp
+  - ( cd tmp &&
+      wget http://prdownloads.sourceforge.net/sbcl/sbcl-1.2.6-x86-64-linux-binary.tar.bz2 &&
+      tar jxf sbcl-1.2.6-x86-64-linux-binary.tar.bz2 &&
+      cd sbcl-1.2.6-x86-64-linux/ &&
+      INSTALL_ROOT=$HOME/sbcl bash install.sh )
+  - export PATH="$PATH:$HOME/sbcl/bin"
+  - export SBCL_HOME="$HOME/sbcl/lib/sbcl/"
 script:
-  - ./bin/test.sh
+  - sbcl --script bin/test.lisp
diff --git a/bin/run.lisp b/bin/run.lisp
new file mode 100644 (file)
index 0000000..b064da1
--- /dev/null
@@ -0,0 +1,4 @@
+(require 'asdf)
+(setf asdf:*central-registry* (list #p"deps/"))
+(asdf:load-system :cl-nl)
+(cl-nl:run)
diff --git a/bin/test.lisp b/bin/test.lisp
new file mode 100644 (file)
index 0000000..128688a
--- /dev/null
@@ -0,0 +1,4 @@
+(require 'asdf)
+(setf asdf:*central-registry* (list #p"deps/"))
+(asdf:load-system :cl-nl-test)
+(cl-nl-test:run-tests)
diff --git a/bin/test.sh b/bin/test.sh
deleted file mode 100755 (executable)
index 50c4c0e..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/bash
-
-sbcl --version
diff --git a/deps/cl-nl-test.asd b/deps/cl-nl-test.asd
new file mode 120000 (symlink)
index 0000000..33911e7
--- /dev/null
@@ -0,0 +1 @@
+../src/test/cl-nl-test.asd
\ No newline at end of file
diff --git a/deps/cl-nl.asd b/deps/cl-nl.asd
new file mode 120000 (symlink)
index 0000000..8cef5e7
--- /dev/null
@@ -0,0 +1 @@
+../src/main/cl-nl.asd
\ No newline at end of file
diff --git a/src/main/cl-nl.asd b/src/main/cl-nl.asd
new file mode 100644 (file)
index 0000000..f6ca9e5
--- /dev/null
@@ -0,0 +1,8 @@
+(asdf:defsystem cl-nl
+  :name "Experiment"
+  :version "0.0.1"
+  :maintainer "Frank Duncan (frank@kank.com)"
+  :author "Frank Duncan (frank@kank.com)"
+  :serial t
+  :components ((:file "package")
+               (:file "main")))
diff --git a/src/main/main.lisp b/src/main/main.lisp
new file mode 100644 (file)
index 0000000..e774de3
--- /dev/null
@@ -0,0 +1,4 @@
+(in-package #:cl-nl)
+
+(defun run ()
+ (format t "AH HA~%"))
diff --git a/src/main/package.lisp b/src/main/package.lisp
new file mode 100644 (file)
index 0000000..5377283
--- /dev/null
@@ -0,0 +1,2 @@
+(defpackage #:cl-nl (:use :common-lisp)
+ (:export :run))
diff --git a/src/test/cl-nl-test.asd b/src/test/cl-nl-test.asd
new file mode 100644 (file)
index 0000000..7fd1760
--- /dev/null
@@ -0,0 +1,9 @@
+(asdf:defsystem cl-nl-test
+  :name "Experiment Tests"
+  :version "0.0.1"
+  :maintainer "Frank Duncan (frank@kank.com)"
+  :author "Frank Duncan (frank@kank.com)"
+  :serial t
+  :components ((:file "package")
+               (:file "main"))
+  :depends-on (:cl-nl))
diff --git a/src/test/main.lisp b/src/test/main.lisp
new file mode 100644 (file)
index 0000000..20d404c
--- /dev/null
@@ -0,0 +1,5 @@
+(in-package #:cl-nl-test)
+
+(defun run-tests ()
+ (cl-nl:run)
+ (format t "That's how we roll~%"))
diff --git a/src/test/package.lisp b/src/test/package.lisp
new file mode 100644 (file)
index 0000000..805cc88
--- /dev/null
@@ -0,0 +1,2 @@
+(defpackage #:cl-nl-test (:use :common-lisp :cl-nl)
+ (:export :run-tests))