alexfertel / bulloak

A Solidity test generator based on the Branching Tree Technique.
Apache License 2.0
225 stars 13 forks source link

Print dummy "UNLICENSED" identifier for SPDX #42

Closed PaulRBerg closed 8 months ago

PaulRBerg commented 9 months ago

bulloak scaffold does not print any SPDX identifier, which leads to the following warning thrown by Solidity:

SPDX license identifier not provided in source file. Before publishing, consider adding a comment containing "SPDX-License-Identifier: <SPDX-License>" to each source file. Use "SPDX-License-Identifier: UNLICENSED" for non-open-source code. Please see https://spdx.org for more information.

It should be safe to have Bulloak print a dummy UNLICENSED identifier:

// SPDX-License-Identifier: UNLICENSED