Fix .laminar script, generate example repos
Signed-off-by: Václav Valíček <valicek1994@gmail.com>
This commit is contained in:
parent
f78cfb8eee
commit
875524c952
1
.laminar
1
.laminar
|
@ -1,4 +1,3 @@
|
|||
echo un: $uninitialized
|
||||
#!/bin/bash
|
||||
set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
|
|
2
tests/_support_data/.gitignore
vendored
Normal file
2
tests/_support_data/.gitignore
vendored
Normal file
|
@ -0,0 +1,2 @@
|
|||
tool_repos
|
||||
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user