Skip to content

Commit e0e49c4

Browse files
authored
added new-day-skeleton-files-from-template make command for convenien… (#14)
* added new-day-skeleton-files-from-template make command for convenience when making files using the templates * remove commented bits
1 parent 4c23678 commit e0e49c4

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

Makefile

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,10 @@ solutions:
2727
python3 src/advent_of_code/year_2023/days/2.py --input_file inputs/2023/2.txt
2828
python3 src/advent_of_code/year_2023/days/3.py --input_file inputs/2023/3.txt
2929
python3 src/advent_of_code/year_2023/days/4.py --input_file inputs/2023/4.txt
30-
python3 src/advent_of_code/year_2023/days/6.py --input_file inputs/2023/6.txt
30+
python3 src/advent_of_code/year_2023/days/6.py --input_file inputs/2023/6.txt
31+
32+
.PHONY: new-day-skeleton-files-from-template
33+
new-day-skeleton-files-from-template:
34+
@read -p "Enter year: " year; \
35+
read -p "Enter day: " day; \
36+
python3 src/advent_of_code/scripts/generate_new_day_skeleton_files_from_templates.py --day $$day --year $$year

0 commit comments

Comments
 (0)