Skip to content

Commit c996313

Browse files
committed
Add note recommending adding a license file
1 parent 7355ef7 commit c996313

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

src/Language/PureScript/Publish/ErrorsWarnings.hs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,12 @@ displayUserError e = case e of
202202
[ "Note that distributing code without a license means that nobody "
203203
, "will (legally) be able to use it."
204204
])
205+
, spacer
206+
, para (concat
207+
[ "It is also recommended to add a LICENSE file to the repository, "
208+
, "including your name and the current year, although this is not "
209+
, "necessary."
210+
])
205211
]
206212
MissingDependencies pkgs ->
207213
let singular = NonEmpty.length pkgs == 1

0 commit comments

Comments
 (0)