mirror of
https://github.com/plausible/analytics.git
synced 2024-12-25 18:48:06 +03:00
e7593ce94f
* add 1st-party langauge agnnostic pre-commit hooks
* white space fixes from pre-commit run -av
* fix CI test/plausible_web/controllers/stats_controller_test.exs#L153
* Revert "fix CI test/plausible_web/controllers/stats_controller_test.exs#L153"
This reverts commit 85c9450efe
.
* git checkout 94f476eb~1 -- priv/ref_inspector priv/ua_inspector
15 lines
169 B
Bash
Executable File
15 lines
169 B
Bash
Executable File
#!/bin/sh
|
|
set -e
|
|
|
|
if [ "$1" = 'run' ]; then
|
|
exec /app/bin/plausible start
|
|
|
|
elif [ "$1" = 'db' ]; then
|
|
exec /app/"$2".sh
|
|
else
|
|
exec "$@"
|
|
|
|
fi
|
|
|
|
exec "$@"
|