Skip to content

Commit

Permalink
Merge pull request #881 from stevenpost/bundler_update
Browse files Browse the repository at this point in the history
Fix CONTRIBUTING documentation for modules
  • Loading branch information
bastelfreak committed Mar 14, 2024
2 parents 1005de6 + 8b9e237 commit 12ace1d
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions moduleroot/.github/CONTRIBUTING.md.erb
Original file line number Diff line number Diff line change
Expand Up @@ -131,19 +131,29 @@ You can install all needed gems for spec tests into the modules directory by
running:

```sh
bundle install --path .vendor/ --without development system_tests release --jobs "$(nproc)"
bundle config set --local path '.vendor/'
bundle config set --local without 'development system_tests release'
bundle install --jobs "$(nproc)"
```

If you also want to run acceptance tests:

```sh
bundle install --path .vendor/ --with system_tests --without development release --jobs "$(nproc)"
bundle config set --local path '.vendor/'
bundle config set --local without 'development release'
bundle config set --local with 'system_tests'
bundle install --jobs "$(nproc)"
```

Our all in one solution if you don't know if you need to install or update gems:

```sh
bundle install --path .vendor/ --with system_tests --without development release --jobs "$(nproc)"; bundle update; bundle clean
bundle config set --local path '.vendor/'
bundle config set --local without 'development release'
bundle config set --local with 'system_tests'
bundle install --jobs "$(nproc)"
bundle update
bundle clean
```

As an alternative to the `--jobs "$(nproc)` parameter, you can set an
Expand Down

0 comments on commit 12ace1d

Please sign in to comment.