mirror of
https://github.com/projekteuler/projekteuler.git
synced 2025-12-10 16:46:42 +01:00
9 lines
172 B
Bash
Executable File
9 lines
172 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
# If running the rails server then create or migrate existing database
|
|
if [ "${*}" == "./bin/rails server" ]; then
|
|
./bin/rails db:prepare
|
|
fi
|
|
|
|
exec "${@}"
|