diff options
author | mhsn <mail@mhsn.net> | 2024-12-01 12:01:01 +0000 |
---|---|---|
committer | mhsn <mail@mhsn.net> | 2024-12-01 12:01:01 +0000 |
commit | 80a23b6e29b251aadbe72c9fba23176aabae0b56 (patch) | |
tree | f4086303c774433db1d226c0c3cc53c0f647e346 | |
parent | 9015922392c9881ca62871692c3a6671243c1fe3 (diff) | |
download | aoc-80a23b6e29b251aadbe72c9fba23176aabae0b56.tar.gz aoc-80a23b6e29b251aadbe72c9fba23176aabae0b56.zip |
Add .gitignores to init script
-rwxr-xr-x | init | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |