Does SDFCLI 2019.1 have support to ignore files/fo...
# sdf
s
Does SDFCLI 2019.1 have support to ignore files/folders (e.g.
node_modules
)? If not, I've love a feature where we could specify exactly what to deploy (e.g. in the
deploy.xml
) - not just wildcards
👍 1
c
Working on it @stalbert, Will be released soon
s
great. It would make me feel better about sdfcli if we could be very explicit about what files deploy and what doesn't 🙂
is there any expectation that the new release will be faster? In my experiments lately on a (premium?) sandbox is sdfcli validates and deploys much slower than I could make the changes manually.
a
We are looking into improving performance of key actions. The uploadfiles improvement is in the short term plan and we will get to other functions in the future
s
that makes sense.... since
uploadfiles
is by far the most common operation. Once NS config is set up, iterating on code (perhaps many times) is far more frequent
t
Until then, what I’ve done is create a git hook that checks for changed files and automatically adds them to the deploy file. You don’t need to specify wildcards in the deploy.xml file, in fact, I remove those entirely.
I also handled it in my Sublime plugin. You can select “Add to Deploy.xml” or “Remove from Deploy.xml” to easily manage the deploy file.
s
Well, I guess what i'm asking for is more broad support for wildcards - from completely specifying a file to a folder with paths matched by regex or what have you. In my particular case, I'd like to be able to have my .TS sources there next to the compiled .JS but only deploy the .JS
m
@stalbert what I do is have a
src
and
dist
folder in my project.
dist
is the actual SDF project and is generated by a gulp task, example https://github.com/michoelchaikin/netsuite-deploy/blob/master/sample/gulpfile.js
d
@TJ Tyrrell I've done something similar, i have a powershell script to parse my
deploy.xml
and zip those files up and deploy the zip file.
s
thanks guys, but I'm hoping to avoid additional build steps, though I fully sympathize with your workarounds.