The GitFileTree-MergeDriver is a good place for that since it has a
Makefile[1] with smalltalk scripting inside ("eval"), and a command line
handler[2] to handle being used on the command line[3] by git.

[1]
https://github.com/ThierryGoubier/GitFileTree-MergeDriver/blob/master/Makefile
[2]
https://github.com/ThierryGoubier/GitFileTree-MergeDriver/tree/master/GitFileTree-MergeDriver.package/GitFileTreeMergeCommandLine.class
[3]
https://github.com/ThierryGoubier/GitFileTree-MergeDriver/blob/master/merge

2016-11-28 13:01 GMT+01:00 Dimitris Chloupis <kilon.al...@gmail.com>:

> can you provide a link to your makefile, maybe I do something stupid, I am
> very noob when it comes to command line cause I use GUIs 99% of the time
>
>
> On Mon, Nov 28, 2016 at 1:59 PM Thierry Goubier <thierry.goub...@gmail.com>
> wrote:
>
>> 2016-11-28 12:54 GMT+01:00 Dimitris Chloupis <kilon.al...@gmail.com>:
>>
>> there are two binaries one is pharo-ui that displays the gui and one is
>> pharo that does not use the GUI , because I use pharo and not pharo-ui , i
>> do not need -vm-display-null and does not solve my problem of not exiting
>>
>>
>> Then this is strange because, as you remember from the Makefile (and
>> because my line of work is command-line oriented), I use the pharo shell
>> script to run a script and either save the image or not save the image,
>> never opening the window in all cases.
>>
>> Thierry
>>
>>
>>
>>
>> On Mon, Nov 28, 2016 at 1:25 PM Thierry Goubier <
>> thierry.goub...@gmail.com> wrote:
>>
>> 2016-11-28 12:13 GMT+01:00 Dimitris Chloupis <kilon.al...@gmail.com>:
>>
>> How to execute a script from command line , then save the image and exit ?
>>
>> I use the st command but it offers either --save which saves but keeps
>> image opened or --exit the exits the image without saving
>>
>> ./pharo Ephestos.image st --save  test.st
>>
>>
>> Use an option like -vm-display-null with -save. There is also a
>> --nodisplay option.
>>
>> Thierry
>>
>>
>>

Reply via email to