boot-clj / boot

Build tooling for Clojure.
https://boot-clj.github.io/
Eclipse Public License 1.0
1.75k stars 179 forks source link

Display file roles on `show -f` #760

Open n2taylor opened 4 years ago

n2taylor commented 4 years ago

This is an implementation of the Enhancement in #419. My very first Clojure PR!

Description

This change modifies the print-fileset helper to include file roles in the displayed output. The file roles were derived from the fileset directly. If there is a better way to access the file roles, please advise.

Motivation and Context

It's for Issue #419

How Has This Been Tested?

Tested against various Boot projects out in the wild with no issues. Also I cobbled together a toy repo to test against locally (this is not included in the PR). Otherwise there are no automated test changes here.

It has only been tested on Mac OS X.

Screenshots (if appropriate):

Before:

Screen Shot 2020-01-16 at 1 49 19 PM

After:

Screen Shot 2020-01-16 at 1 21 14 PM

Types of changes

Checklist: