adventofcode-2018
adventofcode-2018 copied to clipboard
Create go symlink if not exist
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