From: Frank Duncan Date: Thu, 30 Apr 2015 20:56:08 +0000 (-0500) Subject: Add empty run X-Git-Tag: v0.0.0~24 X-Git-Url: https://code.consxy.com/gitweb/gitweb.cgi?a=commitdiff_plain;h=f22f4e3;p=clnl Add empty run --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..a9a5aec --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +tmp diff --git a/.travis.yml b/.travis.yml index 7493a0d..244480c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 index 0000000..b064da1 --- /dev/null +++ b/bin/run.lisp @@ -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 index 0000000..128688a --- /dev/null +++ b/bin/test.lisp @@ -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 index 50c4c0e..0000000 --- a/bin/test.sh +++ /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 index 0000000..33911e7 --- /dev/null +++ b/deps/cl-nl-test.asd @@ -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 index 0000000..8cef5e7 --- /dev/null +++ b/deps/cl-nl.asd @@ -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 index 0000000..f6ca9e5 --- /dev/null +++ b/src/main/cl-nl.asd @@ -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 index 0000000..e774de3 --- /dev/null +++ b/src/main/main.lisp @@ -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 index 0000000..5377283 --- /dev/null +++ b/src/main/package.lisp @@ -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 index 0000000..7fd1760 --- /dev/null +++ b/src/test/cl-nl-test.asd @@ -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 index 0000000..20d404c --- /dev/null +++ b/src/test/main.lisp @@ -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 index 0000000..805cc88 --- /dev/null +++ b/src/test/package.lisp @@ -0,0 +1,2 @@ +(defpackage #:cl-nl-test (:use :common-lisp :cl-nl) + (:export :run-tests))