Przeglądaj źródła

add rake db:migrate as build step for rails.

mhh..., maybe say "step" instead of "phase"?
Lucas Stadler 11 lat temu
rodzic
commit
8b0940a734
1 zmienionych plików z 2 dodań i 1 usunięć
  1. 2 1
      go/detect/detect.go

+ 2 - 1
go/detect/detect.go

@ -34,7 +34,8 @@ var ProjectTypes = []*Project{
34 34
	&Project{"python/django", Commands{"build": "python manage.py syncdb", "run": "python manage.py runserver",
35 35
		"test": "python manage.py test"}, pythonDjango},
36 36
	&Project{"python/default", Commands{"run": "python {file}"}, pythonDefault},
37
	&Project{"ruby/rails", Commands{"run": "rails server", "test": "bundle exec rake test"}, rubyRails},
37
	&Project{"ruby/rails", Commands{"build": "bundle exec rake db:migrate", "run": "rails server",
38
		"test": "bundle exec rake test"}, rubyRails},
38 39
	&Project{"ruby/rake", Commands{"run": "rake", "test": "rake test"}, rubyRake},
39 40
	&Project{"ruby/default", Commands{"run": "ruby {file}"}, rubyDefault},
40 41
	&Project{"make", Commands{"run": "make", "test": "make test"}, makeDefault},