Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Anyone familiar with Git?
Message
From
07/03/2016 12:38:18
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
07/03/2016 12:21:58
General information
Forum:
Visual FoxPro
Category:
Git
Miscellaneous
Thread ID:
01632456
Message ID:
01632626
Views:
49
git itself can start action after git execution. So it would simple be possible to automate FoxBin2Prg to create binaries. This is called (git) hooks. Do not mix up with (vfp) project hook.

OTOH as long as you run VFP while using git, a project might watch through a project hook via eventbinding, checking the??2 files for change and start binary creation. Might a bit tricky to not mix up with text creation, stay in synch, watch for manual merging and so on, but could be done. The project news it's parts and can deal with any change to there text representation.

Get me right, this is plain theorie I will not follow or recomend.

>Create project hooks to automatically generate the text files with every build, it they're needed. That way, they're ready to go when you Commit and Push. I don't see how you can update the binaries automatically after a PULL,
>
>
>>Hi Lutz,
>>
>>Following Craig's and your advice I won't store the VFP bin files in the git repository.
>>
>>Being a forgetful fellow, I would like to automatically sync the generated text files (*.sc2, *.vc2 etc) with their corresponding binaries before every commit and after every checkout, merge etc.
>>
>>In your documentation you mention that your code optionally processes only files changed, comparing files checksums. Can you explain more please?
>>
>>Thank you very much.
>>
>>Alex
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Reply
Map
View

Click here to load this message in the networking platform