From 80a23b6e29b251aadbe72c9fba23176aabae0b56 Mon Sep 17 00:00:00 2001 From: mhsn Date: Sun, 1 Dec 2024 12:01:01 +0000 Subject: Add .gitignores to init script --- init | 2 ++ 1 file changed, 2 insertions(+) (limited to 'init') diff --git a/init b/init index 422d762..a8caa51 100755 --- a/init +++ b/init @@ -24,10 +24,12 @@ fi if [[ ! -d $aoc_path/python ]]; then mkdir --parents $aoc_path/python cp "$script_path/template/main.py" "$aoc_path/python/main.py" + echo "*" > "$aoc_path/python/.gitignore" fi # Rust if [[ ! -d $aoc_path/rust ]]; then cargo new "$aoc_path/rust" --vcs none --name "aoc_$year-$day" cp "$script_path/template/main.rs" "$aoc_path/rust/src/main.rs" + echo "*" > "$aoc_path/rust/.gitignore" fi -- cgit v1.2.3