add doric-cli init content

This commit is contained in:
pengfei.zhou
2019-08-13 14:31:12 +08:00
parent a3a6d4111f
commit 76fe0f9044
9 changed files with 190 additions and 35 deletions

View File

@@ -25,6 +25,7 @@ android {
afterEvaluate {
buildJSBundle.exec()
buildDemo.exec()
buildDebugger.exec()
}
@@ -33,6 +34,11 @@ task buildJSBundle(type: Exec) {
commandLine 'npm', 'run', 'build'
}
task buildDemo(type: Exec) {
workingDir project.rootDir.getParent() + "/demo"
commandLine 'npm', 'run', 'build'
}
task buildDebugger(type: Exec) {
workingDir project.rootDir.getParent() + "/debugger"
commandLine 'npm', 'run', 'build'