mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-13 20:59:36 +00:00
Andrei Jiroh Halili
9e61cf7e65
Repo cloning will go by next week. Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
12 lines
247 B
Bash
Executable file
12 lines
247 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
if [[ $DEBUG != "" ]]; then
|
|
set -x
|
|
fi
|
|
COMMAND=$*
|
|
|
|
if [[ $1 = "serve" ]] || [[ $1 == "build" ]] || [[ $1 == "gh-deploy" ]] || [[ $1 == "new" ]] || [[ $1 == "--help" ]]; then
|
|
exec "mkdocs $COMMAND"
|
|
else
|
|
exec "$COMMAND"
|
|
fi
|