Extract style checks to separate script

openid
Marcin Kulik 12 years ago
parent ca38cc20e7
commit 13c14e4188

@ -0,0 +1,4 @@
#!/bin/bash
bundle exec cane --no-doc --abc-glob '{app,lib,spec}/**/*.rb' --style-glob '{app,lib,spec}/**/*.rb' && \
bundle exec tailor app && bundle exec tailor lib && bundle exec tailor spec

@ -1,6 +1,4 @@
#!/bin/bash
bundle exec rake db:create db:migrate
bundle exec rake && \
bundle exec cane --no-doc --abc-glob '{app,lib,spec}/**/*.rb' --style-glob '{app,lib,spec}/**/*.rb' && \
bundle exec tailor app && bundle exec tailor lib && bundle exec tailor spec
bundle exec rake && ./script/check-style.sh

Loading…
Cancel
Save