mirror of
https://github.com/ruby/setup-ruby.git
synced 2026-09-13 14:34:21 +02:00
Add a simple CONTRIBUTING.md
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
# Contributing
|
||||
|
||||
## Installing dependencies
|
||||
|
||||
```bash
|
||||
yarn
|
||||
```
|
||||
|
||||
`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
|
||||
```
|
||||
Reference in New Issue
Block a user