fbiville / headache

Utility to manage license headers in source files
Apache License 2.0
34 stars 8 forks source link

Embed json schema in binary #81

Open adrienjoly opened 4 years ago

adrienjoly commented 4 years ago

See SchemaLocation.

So that we cam add a new comment format and test it from another directory before the schema was uploaded to https://fbiville.github.io/headache/schema.json.

=> The binary should not have to download that schema at every run.

Environment

Protips

the following only applies to duplicated or malformed header issues

headache can be quite sensitive to small differences between the header template and the actual headers in source files, especially at the first run!

Here a few things to check before reporting an issue:

Describe the bug A clear and concise description of what the bug is. If it concerns duplicated/malformed headers, please include the full contents of at least one affected source file:

source file contents to insert here

To Reproduce Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'

Expected behavior A clear and concise description of what you expected to happen.

Additional context Add any other context about the problem here.