mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 14:34:21 +02:00
22 lines
325 B
Markdown
22 lines
325 B
Markdown
# Contributing
|
|
|
|
## Installing dependencies
|
|
|
|
```bash
|
|
$ yarn install
|
|
```
|
|
|
|
`npm` doesn't install the correct dependencies for `eslint` so we use `yarn`.
|
|
|
|
## Regenerating dist/index.js
|
|
|
|
```bash
|
|
$ yarn run package
|
|
```
|
|
|
|
It is recommended to add this as a `git` `pre-commit` hook:
|
|
|
|
```bash
|
|
$ cp pre-commit .git/hooks/pre-commit
|
|
```
|