0
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2026-08-09 21:45:25 +08:00
discourse/bin
Martin Brennan 506068b245
DEV: Set LOAD_PLUGIN=1 in bin/rspec in more cases (#40514)
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
2026-06-04 11:06:26 +10:00
..
docker DEV: Replace JS build system with Rolldown (#35963) 2026-05-29 11:11:55 +01:00
annotaterb DEV: Update bundler from 2.6.4 to 4.0.11 (#40441) 2026-06-01 21:35:53 +02:00
bundle DEV: fix linter and linting config (#36815) 2025-12-22 07:23:19 +11:00
dev DEV: Replace JS build system with Rolldown (#35963) 2026-05-29 11:11:55 +01:00
ember-cli DEV: bin/ember-cli shim fixups (#40402) 2026-05-29 12:38:38 +01:00
lint DEV: Remove ember-template-lint (#40077) 2026-05-15 20:54:13 +01:00
notify_file_change
pitchfork DEV: Remove Unicorn web server in favor of Pitchfork (#39032) 2026-04-01 15:04:59 +02:00
qunit DEV: Fix bin/qunit file path filtering for relative test modules (#40511) 2026-06-03 12:59:36 +08:00
rails DEV: Remove Unicorn web server in favor of Pitchfork (#39032) 2026-04-01 15:04:59 +02:00
rake DEV: fix linter and linting config (#36815) 2025-12-22 07:23:19 +11:00
rspec DEV: Set LOAD_PLUGIN=1 in bin/rspec in more cases (#40514) 2026-06-04 11:06:26 +10:00
rubocop DEV: Update bundler from 2.6.4 to 4.0.11 (#40441) 2026-06-01 21:35:53 +02:00
system_rspec DEV: Minimal first pass of rails system test setup (#16311) 2022-09-28 11:48:16 +10:00
turbo_rspec DEV: Change test formatters (#39427) 2026-04-22 12:26:07 +02:00