aboutsummaryrefslogtreecommitdiff
path: root/projectile.el
diff options
context:
space:
mode:
authorColin Williams <lackita@gmail.com>2022-06-18 09:32:16 -0400
committerBozhidar Batsov <bozhidar@batsov.dev>2022-06-26 20:30:16 +0300
commit8f2e1eafe2dd42ea0f3590d2fbd6d171c7f3b0fc (patch)
tree98c0715f45b28b9c8bceb96fe8fae5a55ef26a3b /projectile.el
parent78be7717cd7e81f039c7206de9ebef20f845d29f (diff)
Switch rails-rspec and rails-test src-dir
Rails puts most of its source files under app rather than lib. This updates the src-dir to allow easy switching between source and test files in this case.
Diffstat (limited to 'projectile.el')
-rw-r--r--projectile.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/projectile.el b/projectile.el
index aaa968d..19c5a6d 100644
--- a/projectile.el
+++ b/projectile.el
@@ -3287,13 +3287,13 @@ a manual COMMAND-TYPE command is created with
(projectile-register-project-type 'rails-test '("Gemfile" "app" "lib" "db" "config" "test")
:project-file "Gemfile"
:compile "bundle exec rails server"
- :src-dir "lib/"
+ :src-dir "app/"
:test "bundle exec rake test"
:test-suffix "_test")
(projectile-register-project-type 'rails-rspec '("Gemfile" "app" "lib" "db" "config" "spec")
:project-file "Gemfile"
:compile "bundle exec rails server"
- :src-dir "lib/"
+ :src-dir "app/"
:test "bundle exec rspec"
:test-dir "spec/"
:test-suffix "_spec")