yandex / tartifacts

:package: Create artifacts for your assemblies
MIT License
20 stars 9 forks source link

CLI references non-existing module #69

Closed pl-j closed 8 years ago

pl-j commented 8 years ago

Hi !

Tried using tartifacts instead of tar.gz for more flexibility but alas, the CLI does not seem to run properly when I try. I think it's tied to https://github.com/blond/tartifacts/blob/master/bin/tartifacts#L10 :

const loadPatterns = require('../lib/load-patterns');

The module load-patterns does not seem to exist anymore, possibly replaced by what is now defined in the file patterns.js. If such is indeed the case, could you update the CLI ? And if not, well I'll gladly accept any help for the issue I have when I try to create my tarball :

tartifacts --include="dist/**" --dest="dist/tarball.tar.gz"

module.js:341 throw err; ^

Error: Cannot find module '../lib/load-patterns'

Thanks !

-pl

blond commented 8 years ago

Thank you for your feedback.

You can use the tartifacts@1.1.2 now. I will fix this error in the near future.

blond commented 8 years ago

Fixed in v1.1.4.