Skip to content

Remove stale PureScript modules from the output folder

Notifications You must be signed in to change notification settings

thought2/purs-output-cleaner

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

purs-output-cleaner

Have you ever got annoyed by receiving auto completions from already deleted modules in PureScript? The reason is that those modules still hang around inside the output folder.

If you don't want to remove the output folder and do a full rebuild, you can use this tool. It cleans the output folder from non-existing modules.

Installation

E.g:

yarn global add https://github.com/thought2/purs-output-cleaner

Usage

As CLI

Inside a spago project folder:

purs-output-cleaner

In the IDE

Configure "Build Command" in the settings of the PureScript language extension:

spago build --before purs-output-cleaner --purs-args --json-errors

(Tested in vscode only)

About

Remove stale PureScript modules from the output folder

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published