[Unison-hackers] Mac update
Benjamin C. Pierce
bcpierce at cis.upenn.edu
Sun Jun 8 13:04:15 EDT 2014
Looks like the new mac GUI is basically working. Should we start folding the changes back into the trunk repo?
- Benjamin
On Jun 5, 2014, at 9:07 AM, Alan Schmitt <alan.schmitt at polytechnique.org> wrote:
> On 2014-05-29 15:44, Alan Shutko <ats at acm.org> writes:
>
>> The mkProjectInfo.ml file uses a subversion keyword to get the subversion revision number to put in the makefile. That doesn't exist in a git checkout, so I had to do this workaround:
>>
>> --- a/src/mkProjectInfo.ml
>> +++ b/src/mkProjectInfo.ml
>> @@ -42,7 +42,7 @@ let pointVersionOrigin = 504 (* Revision that corresponds to point version 0 *)
>> (* ---------------------------------------------------------------------- *)
>> (* You shouldn't need to edit below. *)
>>
>> -let revisionString = "$Rev$";;
>> +let revisionString = "$Rev: 900$";;
>>
>> let pointVersion =
>> Scanf.sscanf revisionString "$Rev: %d " (fun x -> x) - pointVersionOrigin;;
>> Modified src/strings.ml
>
> This works, thanks a lot. I'm able to build the application here.
>
> Alan
> _______________________________________________
> Unison-hackers mailing list
> Unison-hackers at lists.seas.upenn.edu
> http://lists.seas.upenn.edu/mailman/listinfo/unison-hackers
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.seas.upenn.edu/pipermail/unison-hackers/attachments/20140608/65570431/attachment.html>
More information about the Unison-hackers
mailing list