* Update clojure CLI flags in script/test * Throw error when not one of version or path ...with qualified symbol pod-spec * Fix some minor formatting issues * Check for new error message in pod-registry test * Add a test for resolve fn in edn data readers * Add CI config * Try using clojure tools-deps image in CI * Check for new error message in sci pod-registry test * Use latest version of buddy in pod-registry test ...for more platform support * Stop depending on babashka Instead accept an arg for the thing we were getting from it (location of the bb.edn file) * Save maven deps in cache in CI
11 lines
341 B
Clojure
11 lines
341 B
Clojure
(require '[babashka.pods :as pods])
|
|
|
|
(pods/load-pod 'org.babashka/buddy "0.1.0")
|
|
|
|
(require '[pod.babashka.buddy.codecs :as codecs]
|
|
'[pod.babashka.buddy.hash :as hash])
|
|
|
|
(println (-> (hash/sha256 "foobar")
|
|
(codecs/bytes->hex)))
|
|
|
|
(pods/load-pod 'org.babashka/etaoin) ;; should cause error when version & path are missing
|