Closed davidvedvick closed 9 years ago
Hi, you should rebase master for "standard coding style". It need a simple test case yet. Thank you for your PR.
Hi zensh, I will try to get that tomorrow and re-submit it.
Hi zensh, I updated to match your standards (lack of ';' is interesting). I also added a test and updated the test to use a JSON file for configuration if it exists, so that others can run tests easily.
Let me know if you need anything else changed.
Also - I did some research and there is another project - gulp-sftp, that may already have this functionality, but I haven't tested it yet. That may just be the way to go, if you want to keep the scope of this plug-in smaller.
Thanks
Added a "dest" method that will behave similarly to the standard gulp dest, based off the
sftp('write')
method. It will automatically attempt to create folders that don't exist and push according to the glob passed in.Potential usage: I've been using this to "deploy" my app to a server, like so:
Hope you guys find it interesting and/or useful!