So, after some research, I decided to use excellent YUI Compressor (found here), and utilizing a few Windows Batch commands I picked up here and there, I created a .BAT file:
echo off set buildFile=../www/js-lib/app-deploy/final-build-file.js set libDir=../html/js-lib set yuiComp=./yuicompressor-2.4.2/build/yuicompressor-2.3.5.jar FOR %%G IN (file1.js file2.js directory/file3.js) DO ( echo on Echo Compressing %%G... echo off java -jar %yuiComp% --preserve-semi --line-break 100 %libDir%/%%G >> %buildFile% )
Issues: You'll need to delete the older build file whenever you run the batch command each time -- I couldn't find a way to delete a file on the server I was working with (using Windows batch commands), and if you run this batch file without deleting the older build file it creates first, it'll simply append your new build file onto the end of the old one!
BATCH FILE COMMANDS: Simple programming commands in a batch environment
Introduction to the Windows Command Prompt
MS DOS Copy Command Help