Add existing project init to project-init
This commit is contained in:
parent
3df053ff6d
commit
f6ace04d40
|
@ -5,6 +5,7 @@ usage() {
|
|||
echo "type git: VCS project"
|
||||
echo "type remote-git: VCS project with README, LICENSE and tests"
|
||||
echo "type src: Simple coding project"
|
||||
echo "type init: Initialize populated project"
|
||||
echo "type doc: Assignment"
|
||||
echo "type nix-ld: Run unpatched programs with Nix"
|
||||
echo "type datasci: Python data science project"
|
||||
|
@ -74,6 +75,9 @@ elif [ "$type" = "src" ]; then
|
|||
create_dir src
|
||||
touch .project
|
||||
direnv_integration "nix"
|
||||
elif [ "$type" = "init" ]; then
|
||||
touch .project
|
||||
direnv_integration "nix"
|
||||
elif [ "$type" = "nix-ld" ]; then
|
||||
copy_nix_files "nix-ld"
|
||||
direnv_integration "nix"
|
||||
|
|
Loading…
Reference in New Issue