Create .project file in project-init
This commit is contained in:
parent
ba20fdd8ee
commit
05600113b3
|
@ -38,10 +38,12 @@ elif [ "$type" = "remote-git" ]; then
|
||||||
elif [ "$type" = "doc" ]; then
|
elif [ "$type" = "doc" ]; then
|
||||||
mkdir docs docs/assets
|
mkdir docs docs/assets
|
||||||
touch docs/Summary.org
|
touch docs/Summary.org
|
||||||
|
touch .project
|
||||||
elif [ "$type" = "src" ]; then
|
elif [ "$type" = "src" ]; then
|
||||||
cp ~/Documents/IT/shell.nix .
|
cp ~/Documents/IT/shell.nix .
|
||||||
mkdir src data
|
mkdir src data
|
||||||
echo "use nix" >.envrc
|
echo "use nix" >.envrc
|
||||||
|
touch .project
|
||||||
direnv allow
|
direnv allow
|
||||||
else
|
else
|
||||||
usage
|
usage
|
||||||
|
|
Loading…
Reference in New Issue