Browse Source

stdout

master
sahabaishakhi 5 years ago
parent
commit
c1b08b44c7
3 changed files with 34 additions and 0 deletions
  1. +10
    -0
      build.boot
  2. +12
    -0
      src/boot_build.clj
  3. +12
    -0
      src/demo/boot_build.clj

+ 10
- 0
build.boot View File

@@ -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])

+ 12
- 0
src/boot_build.clj View File

@@ -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"))

+ 12
- 0
src/demo/boot_build.clj View File

@@ -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"))

Loading…
Cancel
Save