I think it's bad idea to exit 1 in this case - because this script can't be used in pipeline or in ansible. Throwing exception breaks next movements. If Yarn already installed this script - it will warn and normally exited with exit code 0.
What do you think?
* Move to containers on Travis
Since git-core PPA is already available, there is no reason to
stick with GCE.
(Unless the build requires a lot of memory.)
* Move correct archive
The resulting package is `yarn-*.tgz`, not `yarnpkg-*.tgz`.
* Skip updating nvm
The preinstalled version is good enough to install Node.js 6+
* Clean up .travis.yml
* Instead of excluding certain builds, add OS X builds (build matrix
definition is more compact)
* Change TEST_TYPE names, so that we can call `npm run` uniformly in
`script`.
* Skip upgrading git on OS X
A newer git is unnecessary, and upgrading adds too much time to the build.
* Contruct build matrix with exclude
To keep job number consistent with older builds
* Handle installation for 'fish' shell
'fish' is a popular shell. This commit adds support for proper detection and installation of yarn in 'fish' shell. If the detected shell is 'fish', add path to ~/.yarn/bin in $HOME/.config/fish/config.fish file.
* Use a more modern way of setting $PATH in fish
Set `~/.yarn/bin` in `$fish_user_paths` instead of setting it in `~/.config/fish/config.fish` file.
See [suggestion from fish documentation](https://github.com/fish-shell/fish-shell/issues/527#issuecomment-13811988) for more reference.
* Run command to set $fish_user_paths instead of evaluating a string.
* add init command - closes#360
* list available commands and examples in cli help - fixes#345
* add outdated command - fixes#379
* rename uninstall command to remove
* add global command - fixes#227
* remove command aliases
* fix licenses not being shown due to integrity check shortcircuiting - fixes#424
* turn aliases back into js
* clean up single instance arguments - fixes#308
* ignore arguments that are included after -- - fixes#251
* add unlink command
* add lint rule against non-language keys
* clean up Config initialisation
* add link command - closes#336
* support array of string engines - fixes#447
* add missing request cache fixtures
* polish link command
* remove gulp file output
* add config command - fixes#378
* add yarn.lock and fix constants
* update aliases
* add missing i18n for CLI
* make `upgrade` command work how you'd expect
* update test metamethod
* require arguments for add command
* move dependency objects into constnats
* add init command - closes#360
* list available commands and examples in cli help - fixes#345
* add outdated command - fixes#379
* rename uninstall command to remove
* add global command - fixes#227
* remove command aliases
* fix licenses not being shown due to integrity check shortcircuiting - fixes#424
* turn aliases back into js
* clean up single instance arguments - fixes#308
* ignore arguments that are included after -- - fixes#251
* add unlink command
* add lint rule against non-language keys
* clean up Config initialisation
* add link command - closes#336
* support array of string engines - fixes#447
* polish link command
* remove gulp file output
* add config command - fixes#378
* add yarn.lock and fix constants
* fix lint, copy test fixtures to temp directory rather than mutating cwd
* fix lint
* add handler for extractor errors
* remove unused jest snapshot
* fix check-lockfile script
* fix lint
* fix check-lockfile
* try and fix test
* properly copy over lockfile scripts folder, ignore ds_store files in test directories
* remove problematic fixtures
* add back problematic fixtures
* disable test
* Script to build Debian package
* Adjustments for Debian scripts:
- Add copyright file
- Add full description to control file
- Ignore some lintian rules
- Delete clowny files that aren't needed and break lintian rules
- Update shebang in yarn.js from "node" to "nodejs" as per Debian package of Node
* Add basic Debian instructions
* Revert readme change and explicitly require Node.js 4 or above