In fact the following script does everything in a pharo core image. In
my case it finds changes in Graphics and System-Hashing:
ScriptLoader
loadLatestPackage: 'Gofer' from: 'http://source.lukas-renggli.ch/flair'.
Gofer new
squeaksource: 'AST';
addPackage: 'AST' constraint: [ :v | v authorName = 'lr' ];
load.
Gofer new
squeaksource: 'RefactoringEngine';
addPackage: 'Refactoring-Core';
load.
rule := RBUnderscoreAssignmentRule new.
SmalllintChecker runRule: rule onEnvironment: BrowserEnvironment new.
rule changes do: [ :each | each execute ]
Lukas
2009/10/17 Lukas Renggli <[email protected]>:
> It works for me in the latest Pharo with AST-lr.176 and
> Refactoring-Core-lr.59.
>
> With the following snippet you don't need the OB UI:
>
> rule := RBUnderscoreAssignmentRule new.
> SmalllintChecker runRule: rule onEnvironment: BrowserEnvironment new.
> rule changes do: [ :each | each execute ]
>
> Lukas
>
> 2009/10/17 Stéphane Ducasse <[email protected]>:
>> ok thanks.
>> let us know after I will run and produce a batch of packages that get :=
>> Stef
>>
>> On Oct 17, 2009, at 4:46 PM, Lukas Renggli wrote:
>>
>>> That looks correct. I will try in the latests Pharo and try to get rid
>>> of these dependencies in the AST package.
>>>
>>> Lukas
>>>
>>> 2009/10/17 Stéphane Ducasse <[email protected]>:
>>>> lukas I loaded AST like that and
>>>> I get open DNU.
>>>>
>>>> Stef
>>>>
>>>> |instClass installWebTools font codeFont titleFont|
>>>>
>>>> instClass := Smalltalk at: #Installer ifAbsent: [ScriptLoader
>>>> loadLatestPackage: 'Installer-Core' fromSqueaksource: 'Installer'.
>>>> Smalltalk at: #Installer].
>>>>
>>>> instClass ss
>>>> project: 'AST';
>>>> install: 'AST-lr'.
>>>>
>>>> instClass ss
>>>> project: 'RefactoringEngine';
>>>> install: 'Refactoring-Core'.
>>>>
>>>>
>>>>
>>>> _______________________________________________
>>>> Pharo-project mailing list
>>>> [email protected]
>>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>>>
>>>
>>>
>>>
>>> --
>>> Lukas Renggli
>>> http://www.lukas-renggli.ch
>>>
>>> _______________________________________________
>>> Pharo-project mailing list
>>> [email protected]
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> [email protected]
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
>
>
> --
> Lukas Renggli
> http://www.lukas-renggli.ch
>
--
Lukas Renggli
http://www.lukas-renggli.ch
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project