mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-22 16:33:39 +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
|