mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-15 05:29:36 +00:00
Andrei Jiroh Halili
6c3c12ebba
This should be also suitable for local development via Docker too. Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
11 lines
190 B
Bash
Executable file
11 lines
190 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
if [[ $DEBUG != "" ]]; then
|
|
set -x
|
|
fi
|
|
|
|
if [[ $1 = "serve" ]] || [[ $1 == "build" ]] | [[ $1 == "gh-deploy" ]] || [[ $1 == "new" ]]; then
|
|
exec mkdocs $@
|
|
else
|
|
$@
|
|
fi
|