diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index bf4a269..7312940 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -45,3 +45,12 @@ upload-clj-prerelease: - if: '$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_TAG == null' script: - lein deploy clojars + +upload-cljs-prerelease: + <<: *clj + stage: upload + rules: + - if: '$CI_COMMIT_BRANCH == "master" && $CI_COMMIT_TAG == null' + script: + - mv project.clj project-clj.clj && mv project-cljs.clj project.clj + - lein deploy clojars diff --git a/package.json b/package.json index 92c616a..f8c2c2b 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "c4k-common", + "name": "c4k-common-cljs", "description": "Contains predicates and tools for c4k", "author": "meissa GmbH", "version": "0.1.0-SNAPSHOT", diff --git a/project-cljs.clj b/project-cljs.clj new file mode 100644 index 0000000..9dd56c1 --- /dev/null +++ b/project-cljs.clj @@ -0,0 +1,22 @@ +(defproject org.domaindrivenarchitecture/c4k-common-cljs "0.1.0-SNAPSHOT" + :description "Contains predicates and tools for c4k" + :url "https://domaindrivenarchitecture.org" + :license {:name "Apache License, Version 2.0" + :url "https://www.apache.org/licenses/LICENSE-2.0.html"} + :dependencies [[org.clojure/clojure "1.10.3" :scope "provided"] + [aero "1.1.6"] + [orchestra "2021.01.01-1"] + [expound "0.8.9"]] + :source-paths ["src/main/cljc" + "src/main/cls"] + :resource-paths ["src/main/resources"] + :repositories [["snapshots" :clojars] + ["releases" :clojars]] + :deploy-repositories [["snapshots" :clojars] + ["releases" :clojars]] + :release-tasks [["vcs" "assert-committed"] + ["change" "version" "leiningen.release/bump-version" "release"] + ["vcs" "commit"] + ["vcs" "tag"] + ["deploy"] + ["change" "version" "leiningen.release/bump-version"]]) diff --git a/project.clj b/project.clj index 477e0ea..16c0fe1 100644 --- a/project.clj +++ b/project.clj @@ -1,4 +1,4 @@ -(defproject org.domaindrivenarchitecture/c4k-common "0.1.0-SNAPSHOT" +(defproject org.domaindrivenarchitecture/c4k-common-clj "0.1.0-SNAPSHOT" :description "Contains predicates and tools for c4k" :url "https://domaindrivenarchitecture.org" :license {:name "Apache License, Version 2.0"