update .gitignore

This commit is contained in:
pengfei.zhou 2019-12-04 14:48:54 +08:00
parent a2d25c4cb5
commit e450731e81
4 changed files with 3 additions and 15 deletions

2
app/.gitignore vendored
View File

@ -1 +1 @@
/build
/build

View File

@ -1 +0,0 @@
../../../../../demo/bundle/src

1
app/src/main/assets/demo/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
*.js

View File

@ -25,24 +25,12 @@ android {
afterEvaluate {
buildJSBundle.exec()
buildDemo.exec()
//buildDebugger.exec()
}
task buildJSBundle(type: Exec) {
workingDir project.rootDir.getParent() + "/js-framework"
commandLine 'npm', 'run', 'build'
commandLine 'sh', project.rootDir.getParent() + "/bundle.sh"
}
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'
}
dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar'])