adventofcode-2018 icon indicating copy to clipboard operation
adventofcode-2018 copied to clipboard

Create go symlink if not exist

Open badouralix opened this issue 5 years ago • 0 comments

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

badouralix avatar Dec 10 '18 00:12 badouralix