0
我需要使用代碼運行grails默認命令,如clean
,compile
,prod war
。 我在我的項目中創建了一個自定義腳本,我需要通過代碼運行這些命令。 我的自定義腳本如下。如何從grails中的自定義腳本運行grails默認命令
class CustomDeploy extends Script {
def run() {
// my code for running commands.
}
}
請幫幫我。