Description
./aoc create only creates a symlink to the go solution in workspace/ after it successfully created the go solution file. In particular, if the solution file already exists, it will skip creating the symlink even though it does not exist.
Design
Catch the exception and keep moving?
Removing the following line would also help creating all missing files, instead of exiting at the first exception:
https://github.com/badouralix/advent-of-code-2018/blob/badcaacc13cb732726dc8a9309e7487f63572a15/tool/create.py#L130
Description
./aoc createonly creates a symlink to the go solution inworkspace/after it successfully created the go solution file. In particular, if the solution file already exists, it will skip creating the symlink even though it does not exist.Design
Catch the exception and keep moving?
Removing the following line would also help creating all missing files, instead of exiting at the first exception:
https://github.com/badouralix/advent-of-code-2018/blob/badcaacc13cb732726dc8a9309e7487f63572a15/tool/create.py#L130