Skip to content

Commit

Permalink
Merge pull request #938 from ashitsalesforce/master
Browse files Browse the repository at this point in the history
cleanup of utility scripts
  • Loading branch information
ashitsalesforce authored Jan 11, 2024
2 parents f87de9a + f46a602 commit 731f8ec
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
9 changes: 6 additions & 3 deletions runtests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ doClean="No"
#encryptionFile=${HOME}/.dataloader/dataLoader.key
encryptionFile=

password=""
failfast="-Dsurefire.skipAfterFailureCount=5"

while getopts ":dicv:t:f:" flag
Expand Down Expand Up @@ -62,11 +61,15 @@ if [ "$#" -lt 4 ]; then
fi

#echo $@
jarname="$(find ./target -name dataloader-[0-9][0-9].[0-9].[0-9].jar | tail -1)"
if [ ${doClean} == "Yes" ]; then
mvn clean package
mvn clean package -Dmaven.test.skip=true
fi

if [ ! -d ./target ]; then
mvn package -Dmaven.test.skip=true
fi

jarname="$(find ./target -name dataloader-[0-9][0-9].[0-9].[0-9].jar | tail -1)"
#echo "password = ${4}"
encryptedPassword="$(java ${debugEncryption} -cp ${jarname} com.salesforce.dataloader.process.DataLoaderRunner run.mode=encrypt -e ${4} ${encryptionFile} | tail -1)"
#echo "encryptedPassword = ${encryptedPassword}"
Expand Down
2 changes: 1 addition & 1 deletion updateSWT.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def exitWithError(errorStr):


def which(program):
fpath, fname = os.path.split(program)
fpath = os.path.split(program)
if fpath:
if is_exe(program):
return program
Expand Down

0 comments on commit 731f8ec

Please sign in to comment.