Sha256: 1c329687f387131eba65825f6e930de719453f085594e1a3db03da42dbc3d54f
Contents?: true
Size: 1.24 KB
Versions: 10
Compression:
Stored size: 1.24 KB
Contents
## 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 rake test TEST=test/rake_tasks_test.rb ``` #### 4.2 Run a single ruby test ``` bundle exec ruby -I test test/rake_tasks_test.rb -n test_rake_webpacker_install ``` # Testing the generator If you change the generator, check that install instructions work. 1. Update the gemfile so that gem "webpacker" has a line like this, pointing to your install of webpacker ```ruby gem 'webpacker', path: "~/shakacode/forks/shakapacker" ``` 2. `bundle` 3. Run the generator confirm that you got the right changes.
Version data entries
10 entries across 10 versions & 1 rubygems