From e450731e81e40ca1045ae77c83f88493a64449ba Mon Sep 17 00:00:00 2001 From: "pengfei.zhou" Date: Wed, 4 Dec 2019 14:48:54 +0800 Subject: [PATCH] update .gitignore --- app/.gitignore | 2 +- app/src/main/assets/demo | 1 - app/src/main/assets/demo/.gitignore | 1 + doric/build.gradle | 14 +------------- 4 files changed, 3 insertions(+), 15 deletions(-) delete mode 120000 app/src/main/assets/demo create mode 100644 app/src/main/assets/demo/.gitignore diff --git a/app/.gitignore b/app/.gitignore index 796b96d1..42afabfd 100644 --- a/app/.gitignore +++ b/app/.gitignore @@ -1 +1 @@ -/build +/build \ No newline at end of file diff --git a/app/src/main/assets/demo b/app/src/main/assets/demo deleted file mode 120000 index 6bd58cbd..00000000 --- a/app/src/main/assets/demo +++ /dev/null @@ -1 +0,0 @@ -../../../../../demo/bundle/src \ No newline at end of file diff --git a/app/src/main/assets/demo/.gitignore b/app/src/main/assets/demo/.gitignore new file mode 100644 index 00000000..4c43fe68 --- /dev/null +++ b/app/src/main/assets/demo/.gitignore @@ -0,0 +1 @@ +*.js \ No newline at end of file diff --git a/doric/build.gradle b/doric/build.gradle index 1b925089..fa8f9b0c 100644 --- a/doric/build.gradle +++ b/doric/build.gradle @@ -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'])