Skip to content

Commit

Permalink
🆕 Switch to PBR default build script
Browse files Browse the repository at this point in the history
  • Loading branch information
pmonks committed Dec 24, 2021
1 parent 17c4591 commit 4154bb8
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 147 deletions.
147 changes: 0 additions & 147 deletions build.clj

This file was deleted.

36 changes: 36 additions & 0 deletions pbr.clj
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
;
; Copyright © 2021 Peter Monks
;
; Licensed under the Apache License, Version 2.0 (the "License");
; you may not use this file except in compliance with the License.
; You may obtain a copy of the License at
;
; http://www.apache.org/licenses/LICENSE-2.0
;
; Unless required by applicable law or agreed to in writing, software
; distributed under the License is distributed on an "AS IS" BASIS,
; WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
; See the License for the specific language governing permissions and
; limitations under the License.
;
; SPDX-License-Identifier: Apache-2.0
;

(def lib 'com.github.pmonks/unfurl)

#_{:clj-kondo/ignore [:unresolved-namespace]}
(def version (format "1.0.%s" (b/git-count-revs nil)))

(defn set-opts
[opts]
(assoc opts
:lib lib
:version version
:write-pom true
:validate-pom true
:pom {:description "This library implements \"URL unfurling\" approximately according to how Slack does it."
:url "https://github.com/pmonks/unfurl"
:licenses [:license {:name "Apache License 2.0" :url "http://www.apache.org/licenses/LICENSE-2.0.html"}]
:developers [:developer {:id "pmonks" :name "Peter Monks" :email "[email protected]"}]
:scm {:url "https://github.com/pmonks/unfurl" :connection "scm:git:git://github.com/pmonks/unfurl.git" :developer-connection "scm:git:ssh://[email protected]/pmonks/unfurl.git"}
:issue-management {:system "github" :url "https://github.com/pmonks/unfurl/issues"}}))

0 comments on commit 4154bb8

Please sign in to comment.