Squads-Protocol / squads-mpl

Squads Multisig Program Library
GNU Affero General Public License v3.0
95 stars 34 forks source link

exclude security_txt from no-entrypoint builds #26

Closed w4rum closed 1 year ago

w4rum commented 1 year ago

The usage of solana-security-txt previously recommended in the official usage guide has an issue:

When multiple projects within a build, including dependencies, define a security-txt, the build fails.

To avoid this issue, library authors - including projects that might be used as a library by others in the future - should exclude the security_txt macro during no-entrypoint builds.

Feel free to read up on the details in the issue on the security-txt repository.

The official usage guide has also been updated. This PR includes the recommended changes.