14 lines
339 B
Bash
Executable file
14 lines
339 B
Bash
Executable file
#!/usr/bin/env zsh
|
|
|
|
webroot="$HOME/Sites/yblog"
|
|
|
|
print -- "Create article"
|
|
./create_ymd.sh > $webroot/multi/blog/Haskell-the-Hard-Way.md
|
|
|
|
print -- "Copy sources"
|
|
for langue in en fr; do
|
|
dst="$webroot/Scratch/$langue/blog/Haskell-the-Hard-Way/code"
|
|
print $dst
|
|
[[ ! -d $dst ]] && mkdir -p $dst
|
|
cp -r *.lhs ??_*(/) $dst
|
|
done
|