make the change simpler, just include the file in npm

This commit is contained in:
Jonathan Lipps
2013-05-28 13:49:34 -07:00
parent e14dd0bb6d
commit e697fa3b5b
3 changed files with 2 additions and 4 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ sample-code/
test/
android/bootstrap/bin/
android/bootstrap/target/
app/android/AndroidManifest*
app/android/AndroidManifest.xml.apk
_vimrc_local.vim
*.swp
*.swo
+1 -1
View File
@@ -144,7 +144,7 @@ ADB.prototype.buildFastReset = function(skipAppSign, cb) {
, targetAPK = me.apkPath
, cleanAPKSrc = path.resolve(__dirname, '../app/android/Clean.apk')
, newPackage = me.appPackage + '.clean'
, srcManifest = path.resolve(__dirname, '../build/android_bootstrap/AndroidManifest.xml.src')
, srcManifest = path.resolve(__dirname, '../app/android/AndroidManifest.xml.src')
, dstManifest = srcManifest.substr(0, srcManifest.length - '.src'.length);
fs.writeFileSync(dstManifest, fs.readFileSync(srcManifest, "utf8"), "utf8");
-2
View File
@@ -133,8 +133,6 @@ reset_android() {
run_cmd $grunt configAndroidBootstrap
echo "* Building Android bootstrap"
run_cmd $grunt buildAndroidBootstrap
echo "* Copying manifest src"
run_cmd cp ./app/android/AndroidManifest.xml.src ./build/android_bootstrap
if $include_dev ; then
reset_apidemos
fi