ソースを参照

stdout

master
sahabaishakhi 5年前
コミット
c1b08b44c7
3個のファイルの変更34行の追加0行の削除
  1. +10
    -0
      build.boot
  2. +12
    -0
      src/boot_build.clj
  3. +12
    -0
      src/demo/boot_build.clj

+ 10
- 0
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])

+ 12
- 0
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"))

+ 12
- 0
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"))

読み込み中…
キャンセル
保存