Compare commits

..

2 Commits

Author SHA1 Message Date
coolneng f6ace04d40
Add existing project init to project-init 2022-11-16 09:40:25 +01:00
coolneng 3df053ff6d
Add LFS config to git 2022-11-16 09:39:53 +01:00
2 changed files with 12 additions and 0 deletions

View File

@ -14,6 +14,14 @@
gpgsign = true
[gitlab]
user = akasroua
[lfs]
activitytimeout = 60
[filter "git-ignore-line.sh"]
clean = /home/coolneng/.dotfiles/scripts/.local/share/scripts/git-ignore-line.sh
smudge = cat
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true

View File

@ -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"