mirror of
https://github.com/discourse/discourse.git
synced 2026-08-09 21:45:25 +08:00
We already automatically set LOAD_PLUGINS=1 when detecting a spec run in plugins/blah inside the discourse repo dir, but often plugins are in different folders on the system. This is especially annoying when you have e.g. vscode open in a directory and it runs a spec command like bin/rspec /absolute/path/to/repo/spec/blah_spec.rb, which doesn't trigger the LOAD_PLUGIN=1 logic. This change makes it so any spec path that is either in plugins/ or not in DISCOURSE_REPO_BASE_DIRECTORY will automaticlaly trigger LOAD_PLUGIN=1 |
||
|---|---|---|
| .. | ||
| docker | ||
| annotaterb | ||
| bundle | ||
| dev | ||
| ember-cli | ||
| lint | ||
| notify_file_change | ||
| pitchfork | ||
| qunit | ||
| rails | ||
| rake | ||
| rspec | ||
| rubocop | ||
| system_rspec | ||
| turbo_rspec | ||