Skip to content

a reminder related to add the license lines#16

Open
x0y0z0tn wants to merge 1 commit intofxhash:masterfrom
x0y0z0tn:patch-1
Open

a reminder related to add the license lines#16
x0y0z0tn wants to merge 1 commit intofxhash:masterfrom
x0y0z0tn:patch-1

Conversation

@x0y0z0tn
Copy link

It will remind the developer to add the license lines.

That is required by the code of conduct:
This file should contain any relevant licensing information ...

It will remind the developer to add the license lines.
That is required by the code of conduct:
This file should contain any relevant licensing information ...
@iuriguilherme
Copy link

If one includes a comment like this one (say to the top of index.js):

/**!
 * @file FXHASH project
 * @version 0.0.1
 * @copyright Author 2023
 * @license MIT
 * 
 * Permission is hereby granted, free of charge, to any person obtaining a copy...
 * [...]
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */

being the important part the exclamation mark in the first line, then uglify, webpack and other tools will preserve that comment and add it to bundle.js.LICENSE.txt.

I redacted most of MIT's license text in the example to shrink this comment's size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants