-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Lukas Domagala
committed
Nov 18, 2021
1 parent
cc41f2a
commit 1732c4d
Showing
5 changed files
with
74 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
(ns build | ||
(:require [clojure.tools.build.api :as b] | ||
[org.corfield.build :as bb])) | ||
|
||
(def lib 'org.clojars.cyrik/omni-trace) | ||
;; if you want a version of MAJOR.MINOR.COMMITS: | ||
(def version (format "0.1.%s" (b/git-count-revs nil))) | ||
|
||
(defn clean "clean" [opts] | ||
(-> opts | ||
(assoc :lib lib :version version) | ||
(bb/clean))) | ||
|
||
(defn install "Install the JAR locally." [opts] | ||
(-> opts | ||
(assoc :lib lib :version version) | ||
(bb/install))) | ||
|
||
(defn jar "Build jar." [opts] | ||
(-> opts | ||
(assoc :lib lib :version version) | ||
(bb/jar))) | ||
|
||
(defn deploy "Deploy the JAR to Clojars." [opts] | ||
(-> opts | ||
(assoc :lib lib :version version) | ||
(bb/jar) | ||
(bb/deploy))) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<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"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<packaging>jar</packaging> | ||
<groupId>org.clojars.cyrik</groupId> | ||
<artifactId>omni-trace</artifactId> | ||
<version>LATEST</version> | ||
<name>omni-trace</name> | ||
<description>Omnipotent/omniscient tracing core for debugging clojure(script)</description> | ||
<url>https://github.com/Cyrik/omni-trace</url> | ||
<repositories> | ||
<repository> | ||
<id>clojars</id> | ||
<url>https://repo.clojars.org/</url> | ||
</repository> | ||
</repositories> | ||
<scm> | ||
<url>https://github.com/Cyrik/omni-trace</url> | ||
<connection>scm:git:git://github.com/Cyrik/omni-trace.git</connection> | ||
<developerConnection>scm:git:ssh://[email protected]/Cyrik/omni-trace.git</developerConnection> | ||
<tag>HEAD</tag> | ||
</scm> | ||
<developers> | ||
<developer> | ||
<name>Lukas Domagala</name> | ||
</developer> | ||
</developers> | ||
<licenses> | ||
<license> | ||
<name>Eclipse Public License</name> | ||
<url>http://www.eclipse.org/legal/epl-v10.html</url> | ||
</license> | ||
</licenses> | ||
|
||
</project> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters