Skip to content

Commit

Permalink
make the change simpler, just include the file in npm
Browse files Browse the repository at this point in the history
  • Loading branch information
jlipps committed May 28, 2013
1 parent e14dd0b commit e697fa3
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion android/adb.js
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down
2 changes: 0 additions & 2 deletions reset.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e697fa3

Please sign in to comment.