src: Rename and add image copy.
This commit is contained in:
parent
f0720290a3
commit
7488bd8b32
3 changed files with 15 additions and 1 deletions
14
src/images_copy.sh
Executable file
14
src/images_copy.sh
Executable file
|
|
@ -0,0 +1,14 @@
|
||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
__target='./static/images/reduced/clickbait'
|
||||||
|
__source='../blog-images/dirs/clickbait/reduced/'
|
||||||
|
|
||||||
|
if [ -d "${__target}" ]; then
|
||||||
|
rm -r "${__target}"
|
||||||
|
fi
|
||||||
|
|
||||||
|
mkdir -p "${__target}"
|
||||||
|
|
||||||
|
cp -r "${__source}" "${__target}"
|
||||||
|
|
||||||
|
exit
|
||||||
|
|
@ -9,6 +9,6 @@ sed -e 's/\[depend_value\]/[color=blue]/' \
|
||||||
-e 's/\[proxy_function\]/\[color=dodgerblue\]/' \
|
-e 's/\[proxy_function\]/\[color=dodgerblue\]/' \
|
||||||
-e 's/\[documented\]/\[fillcolor=darkolivegreen1\]/' \
|
-e 's/\[documented\]/\[fillcolor=darkolivegreen1\]/' \
|
||||||
-e 's/\[done\]/\[fillcolor=chartreuse\]/' \
|
-e 's/\[done\]/\[fillcolor=chartreuse\]/' \
|
||||||
-e 's/\[depend_function\]/\[color=cornflowerblue\]/' 'src/connections.dot' | fdp -Ln5 -Tsvg > "${__target}"
|
-e 's/\[depend_function\]/\[color=cornflowerblue\]/' 'src/rice_connections.dot' | fdp -Ln5 -Tsvg > "${__target}"
|
||||||
|
|
||||||
exit
|
exit
|
||||||
Loading…
Add table
Reference in a new issue