Add note recommending adding a license file
commitc9963138bb47a020050955ff27bffa7aee73092f
authorHarry Garrood <harry@garrood.me>
dateSun 17 Apr 2016, 21:00 (11 years ago)
parent7355ef7
src/Language/PureScript/Publish/ErrorsWarnings.hs+6
@@ -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