update .gitignore
This commit is contained in:
parent
a2d25c4cb5
commit
e450731e81
@ -1 +0,0 @@
|
|||||||
../../../../../demo/bundle/src
|
|
1
app/src/main/assets/demo/.gitignore
vendored
Normal file
1
app/src/main/assets/demo/.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
*.js
|
@ -25,24 +25,12 @@ android {
|
|||||||
|
|
||||||
afterEvaluate {
|
afterEvaluate {
|
||||||
buildJSBundle.exec()
|
buildJSBundle.exec()
|
||||||
buildDemo.exec()
|
|
||||||
//buildDebugger.exec()
|
|
||||||
}
|
}
|
||||||
|
|
||||||
task buildJSBundle(type: Exec) {
|
task buildJSBundle(type: Exec) {
|
||||||
workingDir project.rootDir.getParent() + "/js-framework"
|
commandLine 'sh', project.rootDir.getParent() + "/bundle.sh"
|
||||||
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'
|
|
||||||
}
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user