-[submodule "wiki"]
- path = wiki
- url = https://github.com/frankduncan/docgen.wiki.git
+++ /dev/null
-#!/bin/bash -e
-
-mkdir -p tmp/sbcl
-
-cwd=$PWD
-( cd tmp &&
- tar jxf ../deps/tarpit/sbcl-1.2.6-x86-64-linux-binary.tar.bz2 &&
- cd sbcl-1.2.6-x86-64-linux/ &&
- SBCL_HOME="" INSTALL_ROOT=$cwd/tmp/sbcl/ bash install.sh )
-
-mkdir -p tmp/deps/
-
-( cd tmp/deps &&
- tar zxf ../../deps/tarpit/cl-ppcre.tar.gz &&
- tar zxf ../../deps/tarpit/style-checker_0.1.tar.gz &&
- ln -s cl-ppcre-2.0.10/cl-ppcre.asd . &&
- ln -s style-checker_0.1/style-checker.asd .
-)
-
-
-SBCL_HOME="" tmp/sbcl/bin/sbcl --core tmp/sbcl/lib/sbcl/sbcl.core --no-sysinit --no-userinit \
- --eval "(require 'asdf)" \
- --eval '(setf asdf:*central-registry* (list #p"tmp/deps/"))' \
- --eval "(asdf:load-system :cl-ppcre)" \
- --eval "(asdf:load-system :style-checker)" \
- --eval "(push :travis *features*)" \
- --eval "(asdf:clear-output-translations)" \
- --eval '(sb-ext:save-lisp-and-die "travissbcl" :executable t)' \
-
-chmod +x travissbcl
-travisname=travissbcl-$(git rev-parse --short HEAD)
-mv travissbcl $travisname
-
-echo "You should upload via the command: scp $travisname nami:/var/travis/sbcls/docgen/"
-echo "You should also set travisname in .travis.yml to $travisname"
-
-rm -rf tmp
+++ /dev/null
-(setf *compile-print* nil)
-(require 'asdf)
-(asdf:initialize-source-registry `(:source-registry (:tree ,(car (directory "src"))) :INHERIT-CONFIGURATION))
-(asdf:load-system :docgen)
-(asdf:load-system :docgen-test)
-#-travis (asdf:load-system :style-checker)
-
-(format t "~%~c[1;33mRunning Tests~c[0m~%" #\Esc #\Esc)
-(when (not (docgen-test:run-all-tests))
- (format t "~c[1;31mFailed tests!~c[0m~%" #\Esc #\Esc)
- (sb-ext:exit :code 1))
-
-(format t "~%~c[1;33mChecking Style~c[0m~%" #\Esc #\Esc)
-(when (not (syntax-checker:pretty-print-check-directory "src"))
- (format t "~c[1;31mFailed style check!~c[0m~%" #\Esc #\Esc)
- (sb-ext:exit :code 1))
-(format t "~c[1;32m- Style Passed!~c[0m~%" #\Esc #\Esc)
-
-(format t "~%~c[1;33mChecking Docs~c[0m~%" #\Esc #\Esc)
-(when (not (docgen:pretty-print-validate-packages :docgen))
- (format t "~c[1;31mFailed doc check!~c[0m~%" #\Esc #\Esc)
- (sb-ext:exit :code 1))
-(format t "~c[1;32m- Doc Check Passed!~c[0m~%" #\Esc #\Esc)
-
-(format t "~c[1;30m--------------~c[0m~%" #\Esc #\Esc)
-(format t "~c[1;32mBuild Success!~c[0m~%" #\Esc #\Esc)
-(sb-ext:exit :code 0)
:author "Frank Duncan (frank@kank.com)"
:serial t
:components ((:file "package") (:file "func") (:file "var") (:file "pkg") (:file "struc") (:file "docgen"))
- :depends-on (#-travis :cl-ppcre)) ; Don't load libraries in travis
+ :depends-on (:cl-ppcre))
It dumps to standard out failures as it comes upon them, finally returning
whether it was successful or not.
- This can be used in travis tests to ensure that documentation can be generated
+ This can be used in validation tests to ensure that documentation can be generated
at a later date.
EXAMPLES:
+++ /dev/null
-Subproject commit 8c039edd1301fc95e5d4e0570ae7a5d1256d176a