Shell Script
-
The Power of Scripting: A Deploy Script
This post is about the power of scripting, which refers to the creation of programs (known as scripts) that are generally shorter and simpler than full-size applications while still being highly useful. The most common kind of script is a shell script, which is typically run at the command line. The specific example we’ll be looking at is an only slightly simplified version of a script that I use all the time, often multiple times per day. It’s called
deploy
, and its purpose is to deploy a wide variety of different project types using a method appropriate to each type.