Skip to content

Commit

Permalink
updated venice console
Browse files Browse the repository at this point in the history
  • Loading branch information
juerg committed Jan 19, 2024
1 parent 025ee0e commit f83aad2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/resources/com/github/jlangch/venice/venice.venice
Original file line number Diff line number Diff line change
Expand Up @@ -64,18 +64,19 @@
;; Configuration -
;; -----------------------------------------------------------------------------

(defonce proj-name "venice")
(defonce proj-name "venice") ;; Venice Git/Eclipse project name

(defonce proj-home (str/strip-end (system-env :VENICE_PROJECT_HOME) "/"))
(defonce repl-home (str/strip-end (system-env :VENICE_REPL_HOME) "/"))

;; Java 8 is mandatory for "./gradlew eclipse", the Eclipse Venice project must
;; be based on Java 8!
(defonce java-8-home (str/strip-end (system-env :JAVA_8_HOME) "/"))
(defonce java-11-home (str/strip-end (system-env :JAVA_11_HOME) "/"))
(defonce java-home java-8-home)

(defonce sonatype-user "xxxxx")
(defonce sonatype-user "xxxxxx")

(defonce cmd-line-prompt (str proj-name "> "))
(defonce cmd-line-prompt (str "vshell> "))

(defonce gradle-std-options ["--warning-mode=all"
"--console=plain"
Expand Down Expand Up @@ -105,7 +106,6 @@
(assert (some? pgp-key) "Please provide the PGP key ID (e.g. 0000AAAA)!")
(assert (some? sonatype-pwd) "Please provide the Sonatype password!")
(assert (not-match? sonatype-user "[x?]*") "Please configure the Sonatype user!")

(gradle-tasks "clean"
"shadowJar"
"publish"
Expand Down Expand Up @@ -285,7 +285,7 @@
(fatal-error-and-exit "The JAVA home '~{java-home}' does not exist!"))

;; configure the REPL
(repl/prompt! "shell> ")
(repl/prompt! cmd-line-prompt)
(repl/handler! handle-command)

(display-welcome-msg)
Expand Down

0 comments on commit f83aad2

Please sign in to comment.