Skip to content

Instantly share code, notes, and snippets.

@dacr
Last active April 2, 2023 10:13
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dacr/f2658f925c5501d846f9e747e98b3ec8 to your computer and use it in GitHub Desktop.
Save dacr/f2658f925c5501d846f9e747e98b3ec8 to your computer and use it in GitHub Desktop.
code examples manager application launcher shell script / published by https://github.com/dacr/code-examples-manager #a6a52ba5-ad55-4ee5-b35e-16409dd3f7a3/2c01243a557fbaf5d601e0bafc6742e9d3e584d0
## summary : code examples manager application launcher shell script
## keywords : cem, code-examples-manager, application, launcher
## publish : gist
## authors : David Crosson
## license : Apache NON-AI License Version 2.0 (https://raw.githubusercontent.com/non-ai-licenses/non-ai-licenses/main/NON-AI-APACHE2)
## id : a6a52ba5-ad55-4ee5-b35e-16409dd3f7a3
## created-on : 2021-03-03T12:51:43Z
## managed-by : https://github.com/dacr/code-examples-manager
## execution : bash script with coursier cli available see https://get-coursier.io/
if [ \( -n "$PROXY_HOST" \) -a \( -n "$PROXY_PORT" \) ]; then
echo "Using proxy $PROXY_HOST:$PROXY_PORT"
export PXO="--java-opt -Dhttps.proxyHost=$PROXY_HOST --java-opt -Dhttps.proxyPort=$PROXY_PORT"
#export JAVA_OPTS="-Dhttps.proxyHost=$PROXY_HOST -Dhttps.proxyPort=$PROXY_PORT"
fi
#cs launch fr.janalyse::code-examples-manager:1.0.9
#cs launch fr.janalyse::code-examples-manager:1.+
#cs launch fr.janalyse::code-examples-manager:2.0.3
#cs launch fr.janalyse::code-examples-manager:2.1.0
#cs launch $PXO --scala 3 fr.janalyse::code-examples-manager:latest.release
cs launch $PXO --scala 3 fr.janalyse:code-examples-manager_3:2.3.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment