back to json for casing
parent
38470725a6
commit
38390a780c
|
|
@ -57,18 +57,10 @@ install_themes() {
|
|||
}
|
||||
|
||||
build() {
|
||||
if ! [ -f ./resume.yaml ]; then
|
||||
if ! [ -f ./resume.json ]; then
|
||||
resume init
|
||||
mv ./resume.json ./resume.yaml
|
||||
return $?
|
||||
fi
|
||||
|
||||
cat ./resume.yaml | gojq --yaml-input > resume.json
|
||||
cleanup() {
|
||||
rm ./resume.json
|
||||
}
|
||||
trap cleanup EXIT
|
||||
|
||||
for theme in ${THEMES//,/ }; do
|
||||
THEME=$theme build_theme
|
||||
done
|
||||
|
|
|
|||
Loading…
Reference in New Issue