[Cook] commands in Cook actions

Andreas Wagner andreasbwagner at gmail.com
Sun May 16 04:34:09 EST 2010


Hello,

I have this in my Howto.cook for automatically updating the version
number in my command line utility:

src/version.h:
                    ;
{
    echo "#define VERSION $(git describe)" > src/version.h;
}

after Cooking src/version.h contains:
define VERSION

Shouldn't Cook execute this command as it would be executed on the command line?

Thanks,
Andreas


More information about the Cook-users mailing list