Skip to content

Commit aa9773e

Browse files
Add include and exclude to publish config (#972)
1 parent 11e8bc2 commit aa9773e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

spaghetto/core/src/Config.purs

+4
Original file line numberDiff line numberDiff line change
@@ -94,13 +94,17 @@ type PublishConfig =
9494
{ version :: Version
9595
, license :: License
9696
, location :: Maybe Location
97+
, include :: Maybe (Array FilePath)
98+
, exclude :: Maybe (Array FilePath)
9799
}
98100

99101
publishConfigCodec :: JsonCodec PublishConfig
100102
publishConfigCodec = CAR.object "PublishConfig"
101103
{ version: Version.codec
102104
, license: License.codec
103105
, location: CAR.optional Location.codec
106+
, include: CAR.optional (CA.array CA.string)
107+
, exclude: CAR.optional (CA.array CA.string)
104108
}
105109

106110
type RunConfig =

0 commit comments

Comments
 (0)