src: Rename and add image copy.

This commit is contained in:
William Floyd 2020-03-13 09:14:55 +01:00
parent f0720290a3
commit 7488bd8b32
Signed by untrusted user who does not match committer: william
GPG key ID: B3EEEDD81893CAF9
3 changed files with 15 additions and 1 deletions

14
src/images_copy.sh Executable file
View 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

View file

@ -9,6 +9,6 @@ sed -e 's/\[depend_value\]/[color=blue]/' \
-e 's/\[proxy_function\]/\[color=dodgerblue\]/' \
-e 's/\[documented\]/\[fillcolor=darkolivegreen1\]/' \
-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