Fix .laminar script, generate example repos

Signed-off-by: Václav Valíček <valicek1994@gmail.com>
This commit is contained in:
Václav Valíček 2022-07-26 20:13:04 +02:00
parent f78cfb8eee
commit 875524c952
Signed by: valicek
GPG Key ID: FF05BDCA0C73BB31
3 changed files with 17 additions and 2 deletions

View File

@ -1,4 +1,3 @@
echo un: $uninitialized
#!/bin/bash
set -euo pipefail
IFS=$'\n\t'

2
tests/_support_data/.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
tool_repos

View File

@ -1,2 +1,16 @@
#!/bin/bash
echo TODO: add some support data
new_pwd=$(dirname $(realpath $0))
cd $new_pwd
# remove old data, if exists
if [ -d "tool_repos" ]
then
echo "Removing old tool_repos"
rm -Rf "tool_repos"
fi
echo "Initializing tool_repos"
mkdir -p tool_repos/uninitialized.git
git init --bare tool_repos/initialized.git