Skip to content

Add "sources" config key #173

@f-f

Description

@f-f

Spago includes some default path globs in the build:

  • src/**/*.purs
  • test/**/*.purs

However, if you don't have those directories, it will complain:

purs compile: No files found using pattern: src/**/*.purs
purs compile: No files found using pattern: test/**/*.purs

I propose we instead make this explicit (and configurable) by adding a sources (or paths) key to the configuration, and removing the implicit paths.
We should migrate existing configurations so the change is backwards compatible.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions