Browse Source

.gitignore automation

main
lhess2021 4 years ago
parent
commit
fd7e1fe892
  1. 5
      shell-scripts.d/canticle-to-xml-automated.sh

5
shell-scripts.d/canticle-to-xml-automated.sh

@ -34,12 +34,13 @@ if [[ "$(pwd)" =~ shell-scripts.d ]]; then
echo "Copying tercet-tags.sh" && cp ../shell-scripts.d/tercet-tags.sh $dir_xml/tercet-tags.sh &&\
echo "Changing dir to $dir_xml" && cd $dir_xml &&\
echo "Running tercet-tags.sh" && ./tercet-tags.sh &&\
echo "Removing tercet-tags.sh" && rm ./tercet-tags.sh &&\
echo "Removing tercet-tags.sh" && rm tercet-tags.sh &&\
echo "Changing dir to $shell_scripts_dir" && cd $shell_scripts_dir &&\
echo "Copying top-level-tags.sh" && cp ../shell-scripts.d/top-level-tags.sh $dir_xml/top-level-tags.sh &&\
echo "Changing dir to $dir_xml" && cd $dir_xml &&\
echo "Running top-level-tags.sh" && ./top-level-tags.sh &&\
echo "Removing top-level-tags.sh" && rm ./top-level-tags.sh &&\
echo "Removing top-level-tags.sh" && rm top-level-tags.sh &&\
echo "Adding .gitignore" && echo 'xpath.sh' > .gitignore &&\
echo "Changing dir to $shell_scripts_dir" && cd $shell_scripts_dir
done
else

Loading…
Cancel
Save