cordova-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Mark Koudritsky" <>
Subject Re: Review Request 16099: Pass cli args to hooks, fix hooker.spec on windows.
Date Mon, 09 Dec 2013 22:19:35 GMT

This is an automatically generated e-mail. To reply, visit:

(Updated Dec. 9, 2013, 10:19 p.m.)

Review request for cordova.


 - removed the e2e/fixtures/hooks dir, it was left there by mistake, all hooks are in hooks_sh
and hooks_bat.
 - addressed the comments from previous revision.

Same diff on github:

Bugs: CB-4382 and CB-5330

Repository: cordova-cli


Note: Two commits in diff (created as git format-patch). Same diff on github:

 - Refactored the hooker.spec.js to use real files like the e2e tests.
 - Moved the spec and corresponding fixtures to live under e2e dir.
 - Rearranged the hooks fixtures into two separate dirs for Win and non-Win platforms.
 - e2e tests on windows can interfere with one another (seem to run partially in parallel),
changed them to use different tmp subdirs for each test.

Diffs (updated)

  e2e/create.spec.js 3f1304c 
  e2e/fixtures/hooks_bat/fail/fail.bat PRE-CREATION 
  e2e/fixtures/hooks_bat/test/.dotted.bat PRE-CREATION 
  e2e/fixtures/hooks_bat/test/07.bat PRE-CREATION 
  e2e/fixtures/hooks_bat/test/1.bat PRE-CREATION 
  e2e/fixtures/hooks_sh/fail/ PRE-CREATION 
  e2e/fixtures/hooks_sh/test/ PRE-CREATION 
  e2e/fixtures/hooks_sh/test/ PRE-CREATION 
  e2e/fixtures/hooks_sh/test/ PRE-CREATION 
  e2e/helpers.js aa1c790 
  e2e/hooker.spec.js PRE-CREATION 
  e2e/platform.spec.js be5761e 
  e2e/plugin.spec.js dd493bb 
  package.json 6c1c753 
  spec/fixtures/hooks/fail/fail.bat 0c810b7 
  spec/fixtures/hooks/fail/ 379a4c9 
  spec/fixtures/hooks/test/07.bat 1095fc0 
  spec/fixtures/hooks/test/ 6e25461 
  spec/fixtures/hooks/test/1.bat 4e76af0 
  spec/fixtures/hooks/test/ 53d5e97 
  spec/hooker.spec.js d4b073e 
  src/hooker.js 06acec7 



npm test
cordova prepare with dummy prepare hooks that store all environment variables.


Mark Koudritsky

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message