mirror of
https://github.com/opf/openproject.git
synced 2026-06-14 03:30:14 +00:00
Set up git commit hooks when running bin/setup_dev
with lefthook
This commit is contained in:
+3
-2
@@ -26,11 +26,12 @@ try 'bundle exec rake openproject:plugins:register_frontend >> log/setup_dev.log
|
||||
echo "Exporting frontend locale files"
|
||||
try 'bundle exec rake i18n:js:export >> log/setup_dev.log'
|
||||
|
||||
echo "Setting up git hooks"
|
||||
try 'bundle exec lefthook install'
|
||||
|
||||
echo "---------------------------------------"
|
||||
echo "Done. Now start the following services"
|
||||
echo '- Rails server `RAILS_ENV=development ./bin/rails s`'
|
||||
echo '- Angular CLI: `npm run serve`'
|
||||
echo ""
|
||||
echo 'You can also run `foreman start -f Procfile.dev` to run all the above on a single terminal.'
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user