Scripter Javascript Tutorial
javascriptmusiclogicscripterbookexcerpttutorial92 Versioning
Versioning scripts becomes important once they have a small amount of
complexity. Most Logic Pro users likely already back up Logic Pro
projects, plugins, samples, and anything else they’ve spent time and/or
money on, and scripts should be no different. There are many ways to
handle versioning for code and what’s offered here is the most basic to
make it as easy as possible for users who don’t code professionally.
(Professional coders would use code versioning software like
git
or SVN, but using those go beyond the scope of this
book.) There are two simple ways to managing versioning: maintaining a
change history, and saving a new file for each change.