|
|
@ -21,7 +21,7 @@ if [ "$type" = "git" ]; then
|
|
|
|
mkdir src data
|
|
|
|
mkdir src data
|
|
|
|
git add ./*
|
|
|
|
git add ./*
|
|
|
|
git commit -m "Initial commit"
|
|
|
|
git commit -m "Initial commit"
|
|
|
|
lorri init
|
|
|
|
echo "use flake" >.envrc
|
|
|
|
direnv allow
|
|
|
|
direnv allow
|
|
|
|
elif [ "$type" = "remote-git" ]; then
|
|
|
|
elif [ "$type" = "remote-git" ]; then
|
|
|
|
git init
|
|
|
|
git init
|
|
|
@ -31,7 +31,7 @@ elif [ "$type" = "remote-git" ]; then
|
|
|
|
mkdir src tests data
|
|
|
|
mkdir src tests data
|
|
|
|
git add ./*
|
|
|
|
git add ./*
|
|
|
|
git commit -m "Initial commit"
|
|
|
|
git commit -m "Initial commit"
|
|
|
|
lorri init
|
|
|
|
echo "use flake" >.envrc
|
|
|
|
direnv allow
|
|
|
|
direnv allow
|
|
|
|
elif [ "$type" = "doc" ]; then
|
|
|
|
elif [ "$type" = "doc" ]; then
|
|
|
|
mkdir docs docs/assets
|
|
|
|
mkdir docs docs/assets
|
|
|
@ -39,7 +39,7 @@ elif [ "$type" = "doc" ]; then
|
|
|
|
elif [ "$type" = "src" ]; then
|
|
|
|
elif [ "$type" = "src" ]; then
|
|
|
|
cp ~/Documents/IT/shell.nix .
|
|
|
|
cp ~/Documents/IT/shell.nix .
|
|
|
|
mkdir src data
|
|
|
|
mkdir src data
|
|
|
|
lorri init
|
|
|
|
echo "use flake" >.envrc
|
|
|
|
direnv allow
|
|
|
|
direnv allow
|
|
|
|
else
|
|
|
|
else
|
|
|
|
usage
|
|
|
|
usage
|
|
|
|