mirror of
https://github.com/sdkman/sdkman-cli.git
synced 2026-01-31 17:53:09 -05:00
Use prepared scripts from build folder in tests.
This commit is contained in:
@@ -2,7 +2,7 @@ import org.apache.tools.ant.filters.*
|
||||
|
||||
apply plugin: 'groovy'
|
||||
|
||||
defaultTasks 'clean', 'prepareScripts', 'assembleArchive'
|
||||
defaultTasks 'clean', 'prepareScripts', 'assembleArchive', 'test'
|
||||
|
||||
repositories {
|
||||
mavenCentral()
|
||||
|
||||
2
build.sh
2
build.sh
@@ -2,4 +2,4 @@
|
||||
export JAVA_HOME=$(/usr/libexec/java_home -v1.7)
|
||||
export GVM_SERVICE="http://localhost:8080"
|
||||
export GVM_DIR="/tmp/gvm"
|
||||
./gradlew -i clean test
|
||||
./gradlew -i
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import static cucumber.runtime.groovy.Hooks.*
|
||||
import static gvm.VertxUtils.*
|
||||
|
||||
baseDir = new File("srv/scripts")
|
||||
baseDir = new File("build/scripts")
|
||||
|
||||
gvmDirEnv = System.getenv('GVM_DIR')
|
||||
if (! gvmDirEnv) {
|
||||
@@ -17,8 +17,6 @@ gvmDir = new File("${gvmDirEnv}")
|
||||
varDir = new File("${gvmDirEnv}/var")
|
||||
broadcastFile = new File("${gvmDirEnv}/var/broadcast")
|
||||
|
||||
scriptPath = 'srv/scripts'
|
||||
|
||||
server = null
|
||||
|
||||
Before(){
|
||||
|
||||
Reference in New Issue
Block a user