Skip to content

Commit

Permalink
switching to deps-library and alpha release
Browse files Browse the repository at this point in the history
  • Loading branch information
tiye committed Mar 7, 2020
1 parent 827dadd commit f4cbfa8
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 38 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ jobs:
run: 'yarn && yarn shadow-cljs compile test-only && node ./target/test.js'

- name: deploy to clojars
run: clojure -A:depstar && env CLOJARS_USERNAME=jiyinyiyong CLOJARS_PASSWORD=${{ secrets.CLOJARS_PASSWORD }} clojure -A:deploy
run: env CLOJARS_USERNAME=jiyinyiyong CLOJARS_PASSWORD=${{ secrets.CLOJARS_PASSWORD }} clojure -A:release
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,5 @@
.shadow-cljs/

.nrepl-port

pom.xml
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ Lilac: some validation functions in ClojureScript
[![Clojars Project](https://img.shields.io/clojars/v/mvc-works/lilac.svg)](https://clojars.org/mvc-works/lilac)

```edn
[mvc-works/lilac "0.1.4-a1"]
[mvc-works/lilac "0.1.4-a2"]
```

```clojure
Expand Down
18 changes: 11 additions & 7 deletions deps.edn
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@

{:paths ["src" "macros"]
:aliases {:depstar {:extra-deps {seancorfield/depstar {:mvn/version "0.5.2"}}
:main-opts ["-m" "hf.depstar.jar" "target/lilac.jar"]}
:deploy {:extra-deps {deps-deploy {:mvn/version "RELEASE"}}
:main-opts ["-m" "deps-deploy.deps-deploy" "deploy" "target/lilac.jar"]}
:install {:extra-deps {deps-deploy {:mvn/version "RELEASE"}}
:main-opts ["-m" "deps-deploy.deps-deploy" "install" "target/lilac.jar"]}}}
{
:paths ["src" "macros"]
:aliases {
:release {
:extra-deps {
appliedscience/deps-library {:mvn/version "0.3.2"}
}
:main-opts ["-m" "deps-library.release"]
}
}
}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
"name": "calcit-nodejs-workflow",
"version": "0.1.0",
"scripts": {
"m2": "clojure -A:depstar && clojure -A:install",
"deploy": "clojure -A:depstar && clojure -A:deploy",
"deploy": "clj -A:release",
"watch": "yarn shadow-cljs watch app test"
},
"main": "index.js",
Expand Down
27 changes: 0 additions & 27 deletions pom.xml

This file was deleted.

6 changes: 6 additions & 0 deletions release.edn
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{:version "0.1.4-a2"
:group-id "mvc-works"
:artifact-id "lilac"
:skip-tag true
:description "Data validation tookits."
:scm-url "https://github.com/mvc-works/lilac"}

0 comments on commit f4cbfa8

Please sign in to comment.