Skip to content

Commit 09992ee

Browse files
authored
Merge pull request #2814 from uProxy/trevj-cca-no
pipe no into more android commands
2 parents 52dfd57 + d3e0b58 commit 09992ee

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Gruntfile.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -225,12 +225,13 @@ module.exports = function(grunt) {
225225
makeChromeWebStoreZips: {
226226
command: 'tools/makechromezips.sh'
227227
},
228+
// Pipe 'no' into any CCA command which asks on first run whether to send usage stats.
229+
// It's slightly annoying on your workstation, potentially fatal on Docker and Travis.
228230
ccaCreateDev: {
229-
// Pipe 'no' for the first time cca.js asks whether to send usage stats.
230231
command: 'echo no | <%= ccaJsPath %> create <%= androidDevPath %> org.uproxy.uProxy "uProxy" --link-to=<%= ccaDevPath %>'
231232
},
232233
ccaCreateDist: {
233-
command: '<%= ccaJsPath %> create <%= androidDistPath %> org.uproxy.uProxy "uProxy" --link-to=<%= ccaDistPath %>'
234+
command: 'echo no | <%= ccaJsPath %> create <%= androidDistPath %> org.uproxy.uProxy "uProxy" --link-to=<%= ccaDistPath %>'
234235
},
235236
ccaPlatformAndroidDev: {
236237
cwd: '<%= androidDevPath %>',
@@ -252,7 +253,6 @@ module.exports = function(grunt) {
252253
// compatibility with the modified libxwalkcore.so that provides obfuscated WebRTC.
253254
ccaBuildAndroid: {
254255
cwd: '<%= androidDevPath %>',
255-
// Pipe 'no' for the first time cca.js asks whether to send usage stats (grunt build_android_lite).
256256
command: 'echo no | <%= ccaJsPath %> build android --debug --webview=crosswalk@org.xwalk:xwalk_core_library_beta:22.52.561.2'
257257
},
258258
ccaReleaseAndroid: {

0 commit comments

Comments
 (0)