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