buidler-aragon icon indicating copy to clipboard operation
buidler-aragon copied to clipboard

Publish: check and clean `dist/` dir if already pre-populated or dirty

Open sohkai opened this issue 4 years ago • 0 comments

To avoid publishing too many files (e.g. old source maps, bundles, or even artifacts), it would be nice if the publish command checked the stat of dist/ before going further in the build process.

For more context, see https://github.com/aragon/buidler-aragon/pull/121#issuecomment-609401958.

sohkai avatar Apr 05 '20 22:04 sohkai