poor mans source control zip project files on build
I am looking for a way to zip 开发者_如何学Goa project including all files and have the zip file dated. has anyone done this and is it possible ?
Sure, I did this for years using Windows NT. I created a batch file named bu.bat in each project and also a backup directory named bu. The batch file contained
pkzip -ex bu/projectprefix%1 *.c *.cpp *.asm *.h *.bat (etc.)
and then I would use it by first listing the backup directory to see what the next number to use is and then
bu 179
Pkzip stores the file timestamps into the archive. -ex chooses xtra (a higher level) of compression.
加载中,请稍侯......
精彩评论