forked from babashka/sci
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[babashka#332] support GraalVM java11
- Loading branch information
Showing
11 changed files
with
720 additions
and
19 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
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
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 @@ | ||
project.clj |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
export SCI_REFLECTOR_JAVA11=true | ||
script/update-project.clj | ||
lein deploy clojars |
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,5 @@ | ||
#!/usr/bin/env bash | ||
|
||
export SCI_REFLECTOR_JAVA11=false | ||
script/update-project.clj | ||
lein deploy clojars |
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,26 @@ | ||
#!/usr/bin/env clojure -Sdeps {:deps,{selmer,{:mvn/version,"1.12.17"}}} | ||
|
||
(require '[selmer.parser :as p]) | ||
(require '[clojure.java.io :as io]) | ||
|
||
(def version (str "0.0.1" | ||
(if (= "true" (System/getenv "SCI_REFLECTOR_JAVA11")) | ||
"-java11" | ||
""))) | ||
|
||
(def java-source-path (str "src-java" | ||
(if (= "true" (System/getenv "SCI_REFLECTOR_JAVA11")) | ||
"11" | ||
"8"))) | ||
|
||
(spit "project.clj" (str ";; GENERATED by script/update-project.clj, DO NOT EDIT\n" | ||
"\n" | ||
(p/render (slurp (io/file "project.clj.template")) | ||
{:version version | ||
:java-source-path java-source-path}))) | ||
|
||
|
||
;; [[org.clojure/clojurescript "1.10.520"] ;; for extraction tests | ||
;; [clj-commons/conch "0.9.2"] | ||
;; [jonase/eastwood "0.3.6"] | ||
;; [borkdude/missing.test.assertions "0.0.1"]] |
Oops, something went wrong.