Closed alexandrtovmach closed 4 years ago
How about adding an option to pass extra list of .*ignore files to install command, to get more flexibility to end user? Something like:
install
xdpm install --ignore-files ".gitignore, .xdignore, .npmignore"
Now it's hardcoded value here https://github.com/AdobeXD/xdpm/blob/master/commands/install.js#L83
I've added main.js file to .gitignore, because it's not expected for me to have a git diff after each new build. As result I can't use xdpm to automate my build process.
xdpm
I'm ready to implement this feature and create a PR, if there are no objections
Closed with #40
Feature Request
How about adding an option to pass extra list of .*ignore files to
install
command, to get more flexibility to end user? Something like:Now it's hardcoded value here https://github.com/AdobeXD/xdpm/blob/master/commands/install.js#L83
Use case
I've added main.js file to .gitignore, because it's not expected for me to have a git diff after each new build. As result I can't use
xdpm
to automate my build process.I'm ready to implement this feature and create a PR, if there are no objections