In this latter comments may cite as an example file. HBM with the
following lines:
-GC3
-ES2
-w

main.prg
test.prg

!copy main.exe c:\soft\demo\main.exe
!del main.exe

But think well ... Wich the commands what should be executed in
several situations? Such as:

* If an error occurs, which commands will be executed?
* When finished with the build, which commands will be executed?
Probably we could add an -install option which would
simply copy the resulting executable to one (or more)
locations, as a post processing command, before
execution, after compression. I don't really see the
need for it yet, maybe if we'd like to replace GNU Make
for contribs, it could be useful.

or other issues such as:
* Does hbmk2 could compress the files generating a ZIP?
No, hbmk2 won't create an install pack. This is a wholly
different issue with different inputs. Other such ideas
is to upload it to an FTP, but that's again only useful
by itself in very few situations.

* Is it possible what increment the version information in my. windows exe?
Probably such thing could be added, however I prefer to
use some version number coming from a version control
system, there is option available to do that. The idea
could be extended to work in some ways without any
version control system, but it's difficult for me to
develop it when I don't need it. Could be autoincrement
(fragile), could be formed from timestamp (too many possible
variations), but the trend is definitely VCS.

Personally I think what I can do all this with a good batch file and
transfer this to the hbmk2 really does not make a tool better than it
already is.
Thanks, good news.

Brgds,
Viktor

_______________________________________________
Harbour mailing list
Harbour@harbour-project.org
http://lists.harbour-project.org/mailman/listinfo/harbour

Reply via email to