Skip to content

Create go symlink if not exist #117

@badouralix

Description

@badouralix

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions