Merge remote-tracking branch 'origin/master'
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
import org.gradle.internal.os.OperatingSystem;
|
||||
|
||||
plugins {
|
||||
id 'java'
|
||||
}
|
||||
@@ -35,6 +37,11 @@ dependencies {
|
||||
}
|
||||
|
||||
task loadDb(type: Exec, group: 'Verification', description: 'Reloads the local database.') {
|
||||
workingDir "./scripts/mysql"
|
||||
commandLine './loaddb.sh'
|
||||
if (OperatingSystem.current().isLinux() || OperatingSystem.current().isMacOsX()) {
|
||||
workingDir "./scripts/mysql"
|
||||
commandLine './loaddb.sh'
|
||||
} else {
|
||||
workingDir "./scripts/mysql"
|
||||
commandLine 'loaddb.bat'
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user