discourse/bin
David Taylor 1f46aed27e
DEV: Automatically set LOAD_PLUGINS for bin/rspec (#30437)
When passing a `plugins/...` path to bin/rspec, it's reasonable to assume that the developer wants the tests to be run with plugins loaded. This commit automatically takes care of that.

If `LOAD_PLUGINS` is explicitly specified, then that value will always be used.

This mimics the logic we already have for database migrations in the `bin/rake` stub
2024-12-23 11:56:10 +00:00
..
docker DEV: Run db:create in Docker dev container (#29295) 2024-10-24 12:19:42 +02:00
annotate
bundle DEV: Enable `unless` cops 2023-02-21 10:30:48 +01:00
dev DEV: Add basic bin/dev script for launching in development (#23254) 2023-08-25 12:07:16 +08:00
ember-cli DEV: Overhaul devcontainer configuration (#28446) 2024-11-14 12:11:38 +00:00
notify_file_change
rails DEV: Compatibility with TruffleRuby (#16641) 2022-05-05 09:50:02 +08:00
rake DEV: Add `rake plugins:turbo_spec` task (#18289) 2022-09-20 15:42:54 +01:00
rspec DEV: Automatically set LOAD_PLUGINS for bin/rspec (#30437) 2024-12-23 11:56:10 +00:00
rubocop
system_rspec DEV: Minimal first pass of rails system test setup (#16311) 2022-09-28 11:48:16 +10:00
turbo_rspec DEV: Fix incorrect `github.ref` value in tests workflow (#28902) 2024-09-13 14:24:42 +08:00
unicorn DEV: clear asset cache when plugins add/remove client.*.yml files (#29468) 2024-10-29 15:17:59 +00:00