mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-13 13:10:53 +00:00
10 lines
144 B
Bash
10 lines
144 B
Bash
#!/bin/sh
|
|
set -e
|
|
|
|
if [ "$1" = 'bin/rails' ] && [ "$2" = 's' ]; then
|
|
rm -f /myapp/tmp/pids/server.pid
|
|
bin/rails db:migrate
|
|
fi
|
|
|
|
exec "$@"
|