-
Shell scripts for easier website scaffolding part 2
Another bit of Bash script fun for prepping a directory or file for deployment. deploy() { echo “Which directory or file do you want to deploy?” read sourcedirectory echo “ZIP’ing up directory/file” zip -r –exclude=\.git –exclude=\node_modules –exclude=\bower_components –exclude=\.npm –exclude=\.idea –exclude=\.hg $sourcedirectory $sourcedirectory echo “Syncing ZIP’ed folder/file to Deploy directory” rsync -r –progress $sourcedirectory.zip ~/Deploy echo…
-
Shell scripts for easier website shell scaffolding
So I’ve played around with Yeoman. And I’ve played with NPM, Gulp, and Grunt. There’s lots of things I like about these tools. But one thing that I dislike about all of them is the general difficulty of building your own customized website scaffolding system with them. And there’s an over-abundance of dependencies in my…