Add ctags

This commit is contained in:
Jesse C. Fisher 2015-08-17 12:43:55 -07:00
parent abffc4248d
commit 1b3e53a86a
4 changed files with 14 additions and 0 deletions

1
.gitignore vendored
View File

@ -12,6 +12,7 @@
# ctags # ctags
tags tags
gems.tags
# bundler state # bundler state
/.bundle /.bundle

View File

@ -40,6 +40,7 @@ group :development do
gem 'rb-fsevent', require: false gem 'rb-fsevent', require: false
gem 'rb-inotify', require: false gem 'rb-inotify', require: false
gem 'spring-commands-rspec' gem 'spring-commands-rspec'
gem 'guard-ctags-bundler'
end end
group :development, :test do group :development, :test do
gem 'factory_girl_rails' gem 'factory_girl_rails'

View File

@ -114,6 +114,9 @@ GEM
guard (~> 2.2) guard (~> 2.2)
guard-compat (~> 1.1) guard-compat (~> 1.1)
guard-compat (1.2.0) guard-compat (1.2.0)
guard-ctags-bundler (1.4.0)
guard (>= 2.0)
guard-compat (>= 0.1.0)
guard-rails (0.7.0) guard-rails (0.7.0)
guard (~> 2.0) guard (~> 2.0)
guard-rspec (4.5.0) guard-rspec (4.5.0)
@ -344,6 +347,7 @@ DEPENDENCIES
faker faker
foreman foreman
guard-bundler guard-bundler
guard-ctags-bundler
guard-rails guard-rails
guard-rspec guard-rspec
haml-lint haml-lint
@ -376,3 +380,6 @@ DEPENDENCIES
turbolinks turbolinks
uglifier (>= 1.3.0) uglifier (>= 1.3.0)
upmin-admin upmin-admin
BUNDLED WITH
1.10.6

View File

@ -93,3 +93,8 @@ guard :rspec, cmd: "bundle exec spring rspec" do
Dir[File.join("**/#{m[1]}.feature")][0] || "spec/acceptance" Dir[File.join("**/#{m[1]}.feature")][0] || "spec/acceptance"
end end
end end
guard 'ctags-bundler', src_path: ["app", "lib", "spec/support"], project_file: "tags" do
watch(/^(app|lib|spec\/support)\/.*\.rb$/)
watch('Gemfile.lock')
end