Page MenuHomeFreeBSD

[NEW PORT] devel/elm-format: Elm source code formatter

Authored by on Jul 15 2019, 2:27 PM.
Referenced Files
F55846328: D20954.diff
Sat, Feb 4, 11:57 AM
Unknown Object (File)
Sat, Jan 14, 5:08 PM
Unknown Object (File)
Dec 30 2022, 3:40 PM
Unknown Object (File)
Dec 12 2022, 12:01 PM
Unknown Object (File)
Dec 5 2022, 3:14 PM



Between this port and lang/elm (bugzilla #236805) it is now easy to develop
using Elm under FreeBSD.
devel/elm-format itself does not compile, it only ensures consistent coding
standards following the official Elm Style Guide.

Test Plan

This port was compiled under poudriere without network access and tested on
multiple example Elm repositories.

Diff Detail

rP FreeBSD ports repository
Lint Not Applicable
Tests Not Applicable

Event Timeline

1 ↗(On Diff #59764)


# $FreeBSD$

line at the very beginning of the Makefile.

3 ↗(On Diff #59764)

No need for that.

4 ↗(On Diff #59764)

I'd set CATEGORIES= devel textproc.

8 ↗(On Diff #59764)

This would output ${PORTVERSION} verbatim, not the real port version. Is this intended? marked 4 inline comments as done.

Built and ran manual tests again.

8 ↗(On Diff #59764)

I actually removed the dependency upon the produced file, so output is not relevant; didn't quite manage to remove dependency on this file, so I turned it into a no-op.
Changed to ["0.8.1"] instead as that's clearer and matches what the git command would spit.

Rephrased pkg-descr so it's easier to parse by humans :-).

This revision was not accepted when it landed; it landed in state Needs Review.Jul 17 2019, 7:13 PM
This revision was automatically updated to reflect the committed changes.