Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
General
GeneralPortable MacsHardwareNetworking
Applications
Mac ApplicationsEudoraFirefox / MozillaInternet ExplorerOutlook ExpressMS OfficeEntourageExcelPowerPointWordVirtual PCMedia PlayerOther MS Products
Programming
Mac ProgrammingCodeWarriorPerl
Country Specific
Australian Mac GroupUK Mac Group

Mac Forum / Programming / CodeWarrior / January 2005



Tip: Looking for answers? Try searching our database.

Shell Tool vs. Perl Tool

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Matt J. - 18 Jan 2005 21:16 GMT
I've created a shell script that increments a build number everytime
run.  I dropped it into my project and then it ran but it didn't do
anything.

If I run the script from the terminal it creates a new build.h file.

So then I set it to Perl Tool and hey, it works!  Although now it only
runs when the file is touched.  How can I run this bad boy at every
compile?

-Matt
tim lindner - 18 Jan 2005 22:04 GMT
> I've created a shell script that increments a build number everytime
> run.  I dropped it into my project and then it ran but it didn't do
[quoted text clipped - 5 lines]
> runs when the file is touched.  How can I run this bad boy at every
> compile?

I haven't tried this, but how about:

Have the script modify its own modification date.

Signature

The ears are too length.
--------------------------------------------------------------
tim lindner:  First initial last name at ix dot netcom dot com

Matt J. - 20 Jan 2005 23:55 GMT
This is what I am doing currently, although I was hoping for a more
elegant solution.

-Matt

>> I've created a shell script that increments a build number everytime
>> run. I dropped it into my project and then it ran but it didn't do
[quoted text clipped - 3 lines]
>>
>> So then I set it to Perl Tool and hey, it works! Although now it
only
>> runs when the file is touched. How can I run this bad boy at every
>> compile?
>
> I haven't tried this, but how about:
>
> Have the script modify its own modification date.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.