Skip to content

Commit

Permalink
published on clojars
Browse files Browse the repository at this point in the history
  • Loading branch information
simongray committed Mar 9, 2023
1 parent b48fb45 commit 5f97e6d
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 2 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
.idea
*.iml
*.iml
.nrepl-port
target
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
Pedestal SP
===========
[![pedestal-sp](https://img.shields.io/clojars/v/dk.cst/pedestal-sp.svg)](https://clojars.org/dk.cst/pedestal-sp)

Enhance your [Pedestal](https://github.com/pedestal/pedestal) web service with [SAML](https://en.wikipedia.org/wiki/Security_Assertion_Markup_Language) 2.0 routes to turn to it a valid [Service Provider](https://en.wikipedia.org/wiki/Service_provider_(SAML)) - or _SP_ for short.

* [Why use this?](#why-use-this)
Expand Down
6 changes: 5 additions & 1 deletion deps.edn
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,8 @@
org.clojure/data.json {:mvn/version "2.4.0"}
luminus/ring-ttl-session {:mvn/version "0.3.3"}
hiccup/hiccup {:mvn/version "1.0.5"}
tick/tick {:mvn/version "0.5.0"}}}
tick/tick {:mvn/version "0.5.0"}}
:aliases {:build {:extra-paths ["dev/src/"]
:extra-deps {io.github.seancorfield/build-clj
{:git/tag "v0.9.2" :git/sha "9c9f078"}}
:ns-default build}}}
37 changes: 37 additions & 0 deletions dev/src/build.clj
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
(ns build
(:require [clojure.tools.build.api :as b]
[org.corfield.build :as bb]))

(def lib 'dk.cst/pedestal-sp)

;; if you want a version of MAJOR.MINOR.COMMITS:
(def version (format "0.1.%s" (b/git-count-revs nil)))

(defn ci
"Run the CI pipeline of tests (and build the JAR)."
[opts]
(-> opts
(assoc :lib lib :version version)
#_(bb/run-tests)
(bb/clean)
(bb/jar)))

(defn install
"Install the JAR locally."
[opts]
(-> opts
(assoc :lib lib :version version)
(bb/install)))

(defn deploy
"Deploy the JAR to Clojars."
[opts]
(-> opts
(assoc :lib lib :version version)
(bb/deploy)))

(comment
(ci {})
(install {})
(deploy {})
#_.)

0 comments on commit 5f97e6d

Please sign in to comment.