Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 13 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,16 @@ Ensure to remove/update generated files under `src` if they cause problems.
```

Ensure to remove/update generated files under `src` if they cause problems.

## Interactively run sbt scripted tests

There are a number of Scala projects being tested as 'scripted' tests. After a
scripted test has completed (successfully or not) it removes the temporary
directory where it was running.

To interactively inspect the project, you can insert a `$ pause` before the
first failing command in the `test` script of a scripted test. You can then
inspect the project, and enter it interactively with
`cd /tmp/sbt_431151; sbt -Dplugin.version=....`, specifying the snapshot
version of the project. Adding `> protocGenerate` or `> generateUnmanaged`
before `$ pause` might save entering sbt yourself a few times.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ah, ofc the pause should be added at the top (stupid thinking of me)