back to json for casing
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user