Search found 4 matches
- Thu Jun 21, 2012 11:19 am
- Forum: NetBurner Software
- Topic: Embedding Git Revision Number into Code
- Replies: 7
- Views: 5896
Re: Embedding Git Revision Number into Code
I'm in the process of switching from SVN to Mercurial (Hg) so I decided to put more effort into solving this. Since Hg and Git are very similar this might help you. I couldnt' find an equivalent of SubWcRev for Hg. I have been reading up on PowerShell so I thought I could use it with Hg and Eclipse ...
- Mon Jun 18, 2012 12:09 pm
- Forum: NetBurner Software
- Topic: Embedding Git Revision Number into Code
- Replies: 7
- Views: 5896
Re: Embedding Git Revision Number into Code
Is there some additional configuration that is necessary for commands entered into that pre-build step command field to work properly? Just as a test, I placed "git describe" in there, and Eclipse complained that git is not in my PATH (which it most certainly is, as I have been committing / checking ...
- Fri Jun 15, 2012 12:13 pm
- Forum: NetBurner Software
- Topic: Embedding Git Revision Number into Code
- Replies: 7
- Views: 5896
Embedding Git Revision Number into Code
I would like to embed a git version / commit number into the serial output of my netburner code, something like the output of "git describe". For example:
$ git describe
0.1-6-g4762a4e
Where 0.1 is the version tag, 6 is how many commits since I created that tag, and g4762a4e is the unique commit ...
$ git describe
0.1-6-g4762a4e
Where 0.1 is the version tag, 6 is how many commits since I created that tag, and g4762a4e is the unique commit ...
- Wed Apr 11, 2012 8:05 am
- Forum: NetBurner Software
- Topic: Stdout to HTML page?
- Replies: 0
- Views: 2761
Stdout to HTML page?
I am trying to set up my netburner to serve up an HTML page that contains, among other things, the last ~500 lines of stdout. The idea is to kind of have a remotely accessible error log. I'm a little unsure of how this would be done. These are the ideas I've come up with:
1) Include a functioncall ...
1) Include a functioncall ...