diff --git a/build.boot b/build.boot new file mode 100644 index 0000000..fc3dfff --- /dev/null +++ b/build.boot @@ -0,0 +1,10 @@ +(set-env! + :resource-paths #{"src"} + :dependencies '[[me.raynes/conch "0.8.0"]]) + +(task-options! + pom {:project 'boot-clj-boilerplate + :version "0.1.0"} + jar {:manifest {"Foo" "bar"}}) + +(require '[demo.boot-build :refer :all]) diff --git a/src/boot_build.clj b/src/boot_build.clj new file mode 100644 index 0000000..57e2a6d --- /dev/null +++ b/src/boot_build.clj @@ -0,0 +1,12 @@ +(ns demo.boot-build + (:require [boot.core :as core] + [boot.task.built-in :as task])) + +(core/deftask build + "Build my project." + [] + (comp (task/pom) (task/jar) (task/install))) + +(core/deftask hello + [] + (println "hello")) diff --git a/src/demo/boot_build.clj b/src/demo/boot_build.clj new file mode 100644 index 0000000..57e2a6d --- /dev/null +++ b/src/demo/boot_build.clj @@ -0,0 +1,12 @@ +(ns demo.boot-build + (:require [boot.core :as core] + [boot.task.built-in :as task])) + +(core/deftask build + "Build my project." + [] + (comp (task/pom) (task/jar) (task/install))) + +(core/deftask hello + [] + (println "hello"))