Files
cypress/cli
Zach Bloomquist 5a0d8b5cfe Allow passing a list of space-separated specs to --spec (#3375)
* cli: add otherSpecs for varargs [wip]

* scripts: pass command-line args through to debugged command

* cli: parse space-delimited specs

* cli: undo unneeded

* cli: cleaned up parseVariableOpts, added warning

* cli: cleanup

* cli: add tests

* cli: glorious whitespace

* cli: a more robust test

* cli: better snapshot

* server: strip single-quotes around --spec arg

#2298
2019-03-15 00:42:46 -04:00
..
2017-06-19 12:14:06 -04:00
2017-06-19 12:14:06 -04:00
2017-09-04 00:00:41 -04:00
2017-09-02 22:51:07 -04:00

Cypress CLI source

This folder is used to build Cypress NPM module.

Building

See scripts/build.js. Note that the built NPM package will include NPM_README.md as its public README file.

Testing

To build and test an NPM package:

  • npm install
  • npm run build

This creates build folder.

  • cd build; npm pack

This creates an archive, usually named cypress-<version>.tgz. You can install this archive from other projects, but because there is no corresponding binary yet (probably), skip binary download. For example from inside cypress-example-kitchensink folder

npm i ~/git/cypress/cli/build/cypress-3.1.5.tgz --ignore-scripts

Which installs the tgz file we have just built from folder ~/git/cypress/cli/build.