--- /dev/null
+(:packages :style-checker :style-checker-test :docgen)
+(:name :style-checker
+ :tasks
+ ((:name :test
+ :directions (style-checker-test:run-all-tests))
+ (:name :checkstyle :directions
+ (syntax-checker:pretty-print-check-directory "src"))
+ (:name :docgen :directions
+ (docgen:pretty-print-validate-packages :syntax-checker))))
+
+; vim:ft=lisp
-[submodule "wiki"]
- path = wiki
- url = https://github.com/frankduncan/style-checker.wiki.git
+++ /dev/null
-before_install:
- - wget http://frank.kank.net/travissbcl/style-checker/ef117ac/$(git rev-parse HEAD)/travissbcl
- - chmod +x travissbcl
-
-script:
- - ./travissbcl --script bin/travis.lisp
* comments
* multiline strings
* exclude in-package check from package.lisp
-
-## Usage
-
-See the [wiki](https://github.com/frankduncan/style-checker/wiki).
-
-Also, see bin/travis.lisp to see how it's used in this package.
+++ /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/docgen_0.1.tar.gz &&
- ln -s cl-ppcre-2.0.10/cl-ppcre.asd . &&
- ln -s docgen_0.1/docgen.asd .
-)
-
-
-SBCL_HOME="" tmp/sbcl/bin/sbcl --core tmp/sbcl/lib/sbcl/sbcl.core --no-sysinit --no-userinit \
- --eval "(require 'asdf)" \
- --eval "(asdf:initialize-source-registry '(:source-registry (:tree \"${PWD}/tmp/deps\") :IGNORE-INHERITED-CONFIGURATION))" \
- --eval "(asdf:load-system :cl-ppcre)" \
- --eval "(asdf:load-system :docgen)" \
- --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/style-checker/"
-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 :style-checker)
-(asdf:load-system :style-checker-test)
-#-travis (asdf:load-system :docgen)
-
-(format t "~%~c[1;33mRunning Tests~c[0m~%" #\Esc #\Esc)
-(when (not (style-checker-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;32mSuccess!~c[0m~%" #\Esc #\Esc)
-(sb-ext:exit :code 0)
:author "Frank Duncan (frank@kank.com)"
:components ((:file "package") (:file "syntax-checker"))
:serial t
- :depends-on #-travis (:cl-ppcre) #+travis nil) ; We don't load up systems if in travis mode
+ :depends-on (:cl-ppcre))
+++ /dev/null
-Subproject commit 3e6a2caa124f2537f8ff9ad2c53f4bbaa285cb63