feat: Add the ability to split CSV and DB generation
This commit is contained in:
parent
4b3c32e37b
commit
424f040158
2 changed files with 65 additions and 30 deletions
3
copy.sh
3
copy.sh
|
@ -1,4 +1,7 @@
|
|||
#!/bin/bash
|
||||
#Via https://stackoverflow.com/questions/59895/how-do-i-get-the-directory-where-a-bash-script-is-located-from-within-the-script
|
||||
folder=$(cd -- "$(dirname -- "${BASH_SOURCE[0]}")" &>/dev/null && pwd)
|
||||
cd "${folder}" || exit
|
||||
for i in ./*.sh; do
|
||||
shfmt -w "${i}"
|
||||
shellcheck -o all -e SC2312 -f diff "${i}" | patch -p1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue