-
-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
27 changed files
with
3,790 additions
and
3,950 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,24 @@ | ||
/target | ||
/classes | ||
/checkouts | ||
pom.xml.asc | ||
*.jar | ||
!.yarn/patches | ||
!.yarn/plugins | ||
!.yarn/releases | ||
!.yarn/sdks | ||
!.yarn/versions | ||
*.class | ||
*.jar | ||
.pnp.* | ||
.shadow-cljs | ||
.yarn/* | ||
/*-init.clj | ||
/.cpcache | ||
/.lein-* | ||
/.nrepl-port | ||
/*-init.clj | ||
/.rebel* | ||
/checkouts | ||
/classes | ||
/doc/dist | ||
/nashorn_code_cache | ||
/node_modules | ||
/out | ||
/repl | ||
/node_modules | ||
/nashorn_code_cache | ||
/.cpcache | ||
/.rebel* | ||
/target | ||
pom.xml.asc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
enableGlobalCache: true | ||
|
||
enableImmutableCache: false | ||
|
||
enableImmutableInstalls: false | ||
|
||
enableTelemetry: false | ||
|
||
nodeLinker: node-modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
Copyright (c) 2015-2016 Andrey Antukh <[email protected]> | ||
Copyright (c) 2015-2024 Andrey Antukh <[email protected]> | ||
|
||
All rights reserved. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
(ns build | ||
(:refer-clojure :exclude [compile]) | ||
(:require | ||
[clojure.tools.build.api :as b] | ||
[cljs.build.api :as api])) | ||
|
||
(def lib 'funcool/beicon2) | ||
(def version (format "2.0-%s" (b/git-count-revs nil))) | ||
(def class-dir "target/classes") | ||
(def basis (b/create-basis {:project "deps.edn"})) | ||
(def jar-file (format "target/%s-%s.jar" (name lib) version)) | ||
|
||
(defn clean [_] | ||
(b/delete {:path "target"})) | ||
|
||
(defn jar [_] | ||
(b/write-pom | ||
{:class-dir class-dir | ||
:lib lib | ||
:version version | ||
:basis basis | ||
:src-dirs ["src"]}) | ||
|
||
(b/copy-dir | ||
{:src-dirs ["src" "resources"] | ||
:target-dir class-dir}) | ||
|
||
(b/jar | ||
{:class-dir class-dir | ||
:jar-file jar-file})) | ||
|
||
(defn install [_] | ||
(b/install {:basis basis | ||
:lib lib | ||
:version version | ||
:jar-file jar-file | ||
:class-dir class-dir})) | ||
|
||
(defn clojars [_] | ||
(b/process | ||
{:command-args ["mvn" | ||
"deploy:deploy-file" | ||
(str "-Dfile=" jar-file) | ||
"-DpomFile=target/classes/META-INF/maven/funcool/beicon/pom.xml" | ||
"-DrepositoryId=clojars" | ||
"-Durl=https://clojars.org/repo/"]})) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,37 @@ | ||
{:paths ["src" "assets"] | ||
{:paths ["src" "resources" "target/classes"], | ||
:aliases | ||
{:dev | ||
{:extra-deps | ||
{org.clojure/clojurescript {:mvn/version "1.10.844"} | ||
org.clojure/clojure {:mvn/version "1.10.3"} | ||
com.bhauman/rebel-readline-cljs {:mvn/version "RELEASE"} | ||
com.bhauman/rebel-readline {:mvn/version "RELEASE"} | ||
funcool/promesa {:mvn/version "RELEASE"}} | ||
:extra-paths ["test" "dev-resources"]} | ||
{com.bhauman/rebel-readline-cljs {:mvn/version "RELEASE"}, | ||
com.bhauman/rebel-readline {:mvn/version "RELEASE"}, | ||
org.clojure/tools.namespace {:mvn/version "RELEASE"}, | ||
org.clojure/core.async {:mvn/version "1.6.673"} | ||
criterium/criterium {:mvn/version "RELEASE"} | ||
thheller/shadow-cljs {:mvn/version "RELEASE"}} | ||
:extra-paths ["test" "dev" "src"]} | ||
|
||
:ancient | ||
{:main-opts ["-m" "deps-ancient.deps-ancient"], | ||
:extra-deps {deps-ancient/deps-ancient {:mvn/version "RELEASE"}}} | ||
:repl | ||
{:main-opts ["-m" "rebel-readline.main"]} | ||
|
||
:shadow-cljs | ||
{:main-opts ["-m" "shadow.cljs.devtools.cli"]} | ||
|
||
:codox | ||
{:extra-deps | ||
{codox/codox {:mvn/version "RELEASE"} | ||
org.clojure/tools.reader {:mvn/version "RELEASE"} | ||
codox-theme-rdash/codox-theme-rdash {:mvn/version "RELEASE"}}} | ||
|
||
:jar | ||
{:replace-deps {com.github.seancorfield/depstar {:mvn/version "RELEASE"}} | ||
:exec-fn hf.depstar/jar | ||
:exec-args {:jar "target/beicon.jar"}}}} | ||
|
||
:build | ||
{:extra-deps | ||
{io.github.clojure/tools.build {:git/tag "v0.9.3" :git/sha "e537cd1"} | ||
org.clojure/clojurescript {:mvn/version "RELEASE"} | ||
org.clojure/tools.deps.alpha {:mvn/version "RELEASE"}} | ||
:ns-default build} | ||
|
||
:outdated | ||
{:extra-deps | ||
{com.github.liquidz/antq {:mvn/version "RELEASE"} | ||
org.slf4j/slf4j-nop {:mvn/version "RELEASE"}} | ||
:main-opts ["-m" "antq.core"]}}} |
Oops, something went wrong.