Skip to content

Commit

Permalink
pipe no into more android commands
Browse files Browse the repository at this point in the history
  • Loading branch information
Trevor Johnston committed Nov 18, 2016
1 parent c1a1c73 commit d3e0b58
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,12 +225,13 @@ module.exports = function(grunt) {
makeChromeWebStoreZips: {
command: 'tools/makechromezips.sh'
},
// Pipe 'no' into any CCA command which asks on first run whether to send usage stats.
// It's slightly annoying on your workstation, potentially fatal on Docker and Travis.
ccaCreateDev: {
// Pipe 'no' for the first time cca.js asks whether to send usage stats.
command: 'echo no | <%= ccaJsPath %> create <%= androidDevPath %> org.uproxy.uProxy "uProxy" --link-to=<%= ccaDevPath %>'
},
ccaCreateDist: {
command: '<%= ccaJsPath %> create <%= androidDistPath %> org.uproxy.uProxy "uProxy" --link-to=<%= ccaDistPath %>'
command: 'echo no | <%= ccaJsPath %> create <%= androidDistPath %> org.uproxy.uProxy "uProxy" --link-to=<%= ccaDistPath %>'
},
ccaPlatformAndroidDev: {
cwd: '<%= androidDevPath %>',
Expand All @@ -252,7 +253,6 @@ module.exports = function(grunt) {
// compatibility with the modified libxwalkcore.so that provides obfuscated WebRTC.
ccaBuildAndroid: {
cwd: '<%= androidDevPath %>',
// Pipe 'no' for the first time cca.js asks whether to send usage stats (grunt build_android_lite).
command: 'echo no | <%= ccaJsPath %> build android --debug [email protected]:xwalk_core_library_beta:22.52.561.2'
},
ccaReleaseAndroid: {
Expand Down

0 comments on commit d3e0b58

Please sign in to comment.