stuff
This commit is contained in:
parent
c2306e1510
commit
3a1efcb8ea
|
@ -0,0 +1,3 @@
|
|||
__pycache__/
|
||||
.sass-cache/
|
||||
/pvv
|
|
@ -6,7 +6,10 @@ def j2_environment_params(): return dict(
|
|||
trim_blocks = True,
|
||||
lstrip_blocks = True,
|
||||
keep_trailing_newline = True,
|
||||
extensions = ("jinja2.ext.do", "jinja2.ext.loopcontrols"),
|
||||
extensions = (
|
||||
"jinja2.ext.do",
|
||||
"jinja2.ext.loopcontrols"
|
||||
),
|
||||
)
|
||||
|
||||
def j2_environment(env): return (env.globals.update(
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
function verbose {
|
||||
echo + "$@"
|
||||
"$@"
|
||||
}
|
||||
|
||||
for style in pvv/styles/*.xml; do
|
||||
verbose ./api.py set-style $(basename "$style" | cut -d. -f1) "$style"
|
||||
done
|
||||
|
||||
exit
|
||||
|
||||
for card in pvv/cards/*.xml; do
|
||||
verbose ./api.py set-card $(basename "$card" | cut -d. -f1) "$card"
|
||||
done
|
Loading…
Reference in New Issue