Created
August 23, 2013 12:31
This Gist shows how to run the utplsql project using Gradle
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ext{ | |
dbun = "SCOTT" | |
dbpw = "oracle" | |
dbinst = "orcl" | |
} | |
task deployUnitTests << { | |
def sqlplusCmd = "sqlplus -s $dbun/$dbpw @../src/test/sql/run.sql".execute() | |
sqlplusCmd.in.eachLine { line -> println line } | |
} | |
task runUnitTests << { | |
def sqlplusCmd = "sqlplus -s $dbun/$dbpw @ut_run.sql".execute() | |
sqlplusCmd.in.eachLine { line -> println line } | |
} | |
task deployDBUpdate << { | |
def sqlplusCmd = "sqlplus -s $dbun/$dbpw @../src/main/sql/run.sql".execute() | |
sqlplusCmd.in.eachLine { line -> println line } | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment