Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions scripts/src/main/resources/scripts/command/eclipse
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,10 @@ function doInstallEclipsePlugin() {
}

function doSetup() {
if [ -n "${1}" ]
then
doDevonCommand java setup
fi
if [ -n "${1}" ] || [ ! -d "${ECLIPSE_HOME}" ]
then
#mirror="https://mirror.math.princeton.edu"
Expand Down
4 changes: 4 additions & 0 deletions scripts/src/main/resources/scripts/command/gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ source "$(dirname "${0}")"/../functions

# $1: optional setup
function doSetup() {
if [ -n "${1}" ]
then
doDevonCommand java setup
fi
if [ -n "${1}" ] || [ ! -d "${GRADLE_HOME}" ]
then
software_version="${GRADLE_VERSION:-5.5.1}"
Expand Down
4 changes: 4 additions & 0 deletions scripts/src/main/resources/scripts/command/intellij
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ source "$(dirname "${0}")"/../functions
cd "${DEVON_IDE_HOME}"

function doSetup() {
if [ -n "${1}" ]
then
doDevonCommand java setup
fi
if [ -n "${1}" ] || [ ! -d "${IDEA_HOME}" ]
then
#mirror="https://mirror.math.princeton.edu"
Expand Down
4 changes: 4 additions & 0 deletions scripts/src/main/resources/scripts/command/mvn
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ source "$(dirname "${0}")"/../functions

# $1: optional setup
function doSetup() {
if [ -n "${1}" ]
then
doDevonCommand java setup
fi
if [ -n "${1}" ] || [ ! -d "${MAVEN_HOME}" ]
then
local software_version=${MAVEN_VERSION:-3.6.1}
Expand Down
1 change: 1 addition & 0 deletions scripts/src/main/resources/scripts/command/ng
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ function doSetup() {
echo "angluar-cli (ng) is already installed at $(command -v ng)"
fi
else
doDevonCommand npm setup
doRunCommand "npm install -g @angular/cli@latest --unsafe" "install angular-cli"
fi
}
Expand Down