Initial commit

This commit is contained in:
Jonas Enlund 2012-11-11 15:47:07 +02:00
commit 48fb5bf8a9
3 changed files with 26 additions and 0 deletions

10
README.md Normal file
View file

@ -0,0 +1,10 @@
# lein-kibit
See [kibit](https://github.com/jonase/kibit) for instructions on how
to install and use this plugin.
## License
Copyright © 2012 Jonas Enlund
Distributed under the Eclipse Public License, the same as Clojure.

6
project.clj Normal file
View file

@ -0,0 +1,6 @@
(defproject lein-kibit "0.0.5"
:description "kibit lein plugin"
:url "https://github.com/jonase/lein-kibit"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:eval-in-leiningen true)

10
src/leiningen/kibit.clj Normal file
View file

@ -0,0 +1,10 @@
(ns leiningen.kibit
(:require [leiningen.core.eval :refer [eval-in-project]]))
(defn ^:no-project-needed kibit
"I don't do a lot."
[project & args]
(let [kibit-project '{:dependencies [[jonase/kibit "0.0.5"]]}
src `(kibit.driver/run '~project ~@args)
req '(require 'kibit.driver)]
(eval-in-project kibit-project src req)))