File tree 4 files changed +61
-3
lines changed
4 files changed +61
-3
lines changed Original file line number Diff line number Diff line change 3
3
/checkouts
4
4
/node_modules
5
5
profiles.clj
6
- pom.xml
7
- pom.xml.asc
6
+ / pom.xml
7
+ / pom.xml.asc
8
8
* .jar
9
9
* .class
10
10
/.cpcache
Original file line number Diff line number Diff line change
1
+ (ns build
2
+ (:require [clojure.tools.build.api :as b]
3
+ [org.corfield.build :as bb]))
4
+
5
+ (def lib 'pogonos /pogonos )
6
+ (def version " 0.2.1-SNAPSHOT" )
7
+ (def tag (b/git-process {:git-args " rev-parse HEAD" }))
8
+
9
+ (defn clean [opts]
10
+ (bb/clean opts))
11
+
12
+ (defn jar [opts]
13
+ (-> opts
14
+ (assoc :src-pom " template/pom.xml"
15
+ :lib lib :version version :scm {:tag tag})
16
+ (clean )
17
+ (bb/jar )))
18
+
19
+ (defn install [opts]
20
+ (-> opts
21
+ (assoc :lib lib :version version)
22
+ (bb/install )))
23
+
24
+ (defn deploy [opts]
25
+ (-> opts
26
+ (assoc :lib lib :version version)
27
+ (bb/deploy )))
Original file line number Diff line number Diff line change 22
22
{org.clojure/clojurescript {:mvn/version " 1.11.4" }}}
23
23
:test-cljs
24
24
{:main-opts [" -m" " cljs.main" " -re" " node"
25
- " -m" " pogonos.test-runner" ]}}}
25
+ " -m" " pogonos.test-runner" ]}
26
+ :build
27
+ {:deps
28
+ {io.github.clojure/tools.build
29
+ {:git/tag " v0.8.3" :git/sha " 0d20256" }
30
+ io.github.seancorfield/build-clj
31
+ {:git/tag " v0.8.3" :git/sha " 7ac1f8d" }}
32
+ :ns-default build}}}
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2
+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3
+ <modelVersion >4.0.0</modelVersion >
4
+ <name >postmortem</name >
5
+ <description >Another Clojure(Script) implementation of the Mustache templating language</description >
6
+ <url >https://github.com/athos/pogonos</url >
7
+ <licenses >
8
+ <license >
9
+ <name >EPL-2.0 OR GPL-2.0-or-later WITH Classpath-exception-2.0</name >
10
+ <url >https://www.eclipse.org/legal/epl-2.0/</url >
11
+ </license >
12
+ </licenses >
13
+ <developers >
14
+ <developer >
15
+ <id >athos</id >
16
+ <name >Shogo Ohta</name >
17
+ </developer >
18
+ </developers >
19
+ <scm >
20
+ <url >https://github.com/athos/pogonos</url >
21
+ <connection >scm:git:git://github.com/athos/pogonos.git</connection >
22
+ <developerConnection >scm:git:ssh://git@github.com/athos/pogonos.git</developerConnection >
23
+ </scm >
24
+ </project >
You can’t perform that action at this time.
0 commit comments