Migrate from travis to candle
authorFrank Duncan <frank@kank.net>
Sun, 19 Dec 2021 05:19:47 +0000 (23:19 -0600)
committerFrank Duncan <frank@kank.net>
Sun, 19 Dec 2021 14:54:27 +0000 (08:54 -0600)
.candle [new file with mode: 0644]
.gitmodules
.travis.yml [deleted file]
README.md
bin/buildtravisexec.sh [deleted file]
bin/travis.lisp [deleted file]
deps/tarpit/cl-ppcre.tar.gz [deleted file]
deps/tarpit/docgen_0.1.tar.gz [deleted file]
deps/tarpit/sbcl-1.2.6-x86-64-linux-binary.tar.bz2 [deleted file]
src/main/style-checker.asd
wiki [deleted submodule]

diff --git a/.candle b/.candle
new file mode 100644 (file)
index 0000000..a69e7fd
--- /dev/null
+++ b/.candle
@@ -0,0 +1,11 @@
+(: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
index e90c9cf365b2de059593fdf179cf29d7316c0bec..e69de29bb2d1d6434b8b29ae775ad8c2e48c5391 100644 (file)
@@ -1,3 +0,0 @@
-[submodule "wiki"]
-       path = wiki
-       url = https://github.com/frankduncan/style-checker.wiki.git
diff --git a/.travis.yml b/.travis.yml
deleted file mode 100644 (file)
index 5d8ce2e..0000000
+++ /dev/null
@@ -1,6 +0,0 @@
-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
index 209be708e7daaab6a3f59f7c6b7f51dec545a7f1..37409b9865a02879127a80494d25afe644ca6ca0 100644 (file)
--- a/README.md
+++ b/README.md
@@ -24,9 +24,3 @@ If you like, you can [download it](https://github.com/frankduncan/style-checker/
 * 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.
diff --git a/bin/buildtravisexec.sh b/bin/buildtravisexec.sh
deleted file mode 100755 (executable)
index 84c870c..0000000
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/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
diff --git a/bin/travis.lisp b/bin/travis.lisp
deleted file mode 100644 (file)
index d562ba3..0000000
+++ /dev/null
@@ -1,26 +0,0 @@
-(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)
diff --git a/deps/tarpit/cl-ppcre.tar.gz b/deps/tarpit/cl-ppcre.tar.gz
deleted file mode 100644 (file)
index 67d6e15..0000000
Binary files a/deps/tarpit/cl-ppcre.tar.gz and /dev/null differ
diff --git a/deps/tarpit/docgen_0.1.tar.gz b/deps/tarpit/docgen_0.1.tar.gz
deleted file mode 100644 (file)
index bad2c6e..0000000
Binary files a/deps/tarpit/docgen_0.1.tar.gz and /dev/null differ
diff --git a/deps/tarpit/sbcl-1.2.6-x86-64-linux-binary.tar.bz2 b/deps/tarpit/sbcl-1.2.6-x86-64-linux-binary.tar.bz2
deleted file mode 100644 (file)
index 9d09cb4..0000000
Binary files a/deps/tarpit/sbcl-1.2.6-x86-64-linux-binary.tar.bz2 and /dev/null differ
index 29862ff9c857b348fea869a2c8b528fa32cce62e..efbec3ec127b6075568daa40194433ee8ba018a1 100644 (file)
@@ -5,4 +5,4 @@
  :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))
diff --git a/wiki b/wiki
deleted file mode 160000 (submodule)
index 3e6a2ca..0000000
--- a/wiki
+++ /dev/null
@@ -1 +0,0 @@
-Subproject commit 3e6a2caa124f2537f8ff9ad2c53f4bbaa285cb63