stuff
This commit is contained in:
3
.gitignore
vendored
Normal file
3
.gitignore
vendored
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
__pycache__/
|
||||||
|
.sass-cache/
|
||||||
|
/pvv
|
||||||
@@ -6,7 +6,10 @@ def j2_environment_params(): return dict(
|
|||||||
trim_blocks = True,
|
trim_blocks = True,
|
||||||
lstrip_blocks = True,
|
lstrip_blocks = True,
|
||||||
keep_trailing_newline = 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(
|
def j2_environment(env): return (env.globals.update(
|
||||||
|
|||||||
16
push.sh
Executable file
16
push.sh
Executable file
@@ -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
|
||||||
Reference in New Issue
Block a user