mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-25 18:03:44 +00:00
12 lines
190 B
Bash
12 lines
190 B
Bash
|
#!/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
|