Sha256: 52b0818d2f631cedb5e681038a49848904ad8be76a9a5547fb0dce9144ea6169
Contents?: true
Size: 1.79 KB
Versions: 1
Compression:
Stored size: 1.79 KB
Contents
## Contents - [Setting Up a Development Environment](#setting-up-a-development-environment) - [Making sure your changes pass all tests](#making-sure-your-changes-pass-all-tests) - [Testing the generator](#testing-the-generator) - [Find existing issues](#find-existing-issues) --- ## Setting Up a Development Environment 1. Install [Yarn](https://yarnpkg.com/) 2. Run the following commands to set up the development environment. ``` bundle install yarn ``` ## Making sure your changes pass all tests There are a number of automated checks which run on GitHub Actions when a pull request is created. You can run those checks on your own locally to make sure that your changes would not break the CI build. ### 1. Check the code for JavaScript style violations ``` yarn lint ``` ### 2. Check the code for Ruby style violations ``` bundle exec rubocop ``` ### 3. Run the JavaScript test suite ``` yarn test ``` ### 4. Run the Ruby test suite ``` bundle exec rake test ``` #### 4.1 Run a single ruby test file ``` bundle exec rspec spec/configuration_spec.rb ``` #### 4.2 Run a single ruby test ``` bundle exec rspec -e "#source_entry_path returns correct path" ``` ## Testing the generator If you change the generator, check that install instructions work. 1. Update the gemfile so that gem "shakapacker" has a line like this, pointing to your install of shakapacker ```ruby gem 'shakapacker', path: "~/shakacode/forks/shakapacker" ``` 2. `bundle` 3. Run the generator confirm that you got the right changes. ## Find existing issues You may look at the issues list to find existing known issues to be addressed. In this, we recommend to look at closed issues, particularly with "[help wanted](https://github.com/shakacode/shakapacker/issues?q=is%3Aissue+label%3A%22help+wanted%22+is%3Aclosed+)" label.
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shakapacker-7.0.0.rc.0 | CONTRIBUTING.md |