From ed898cd371d77a446fde60754a05234cbd33303a Mon Sep 17 00:00:00 2001 From: beb Date: Sun, 2 Aug 2020 16:33:53 +0200 Subject: [PATCH 1/2] remove dependency on swaline outside of testing --- .../BaselineOfAlgernon.class/instance/baseline..st | 3 +-- .../BaselineOfAlgernon.class/methodProperties.json | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/BaselineOfAlgernon.package/BaselineOfAlgernon.class/instance/baseline..st b/packages/BaselineOfAlgernon.package/BaselineOfAlgernon.class/instance/baseline..st index ad0bcab1..97306ce9 100644 --- a/packages/BaselineOfAlgernon.package/BaselineOfAlgernon.class/instance/baseline..st +++ b/packages/BaselineOfAlgernon.package/BaselineOfAlgernon.class/instance/baseline..st @@ -33,8 +33,7 @@ baseline: spec spec group: 'default' with: #('Algernon'); - group: 'Tests' with: #('AlgernonTests'); - group: 'default' with: #('PlugIns'); + group: 'Tests' with: #('AlgernonTests' 'PlugIns'); group: 'portability' with: #('PlugIns'); group: 'Core' with: #('SwaLint-Core'); group: 'PlugIns' with: #('SwaLint-PlugIns'). ] \ No newline at end of file diff --git a/packages/BaselineOfAlgernon.package/BaselineOfAlgernon.class/methodProperties.json b/packages/BaselineOfAlgernon.package/BaselineOfAlgernon.class/methodProperties.json index 06b0e2ba..89ede02b 100644 --- a/packages/BaselineOfAlgernon.package/BaselineOfAlgernon.class/methodProperties.json +++ b/packages/BaselineOfAlgernon.package/BaselineOfAlgernon.class/methodProperties.json @@ -2,6 +2,6 @@ "class" : { }, "instance" : { - "baseline:" : "beb 5/25/2020 16:28", + "baseline:" : "beb 8/2/2020 16:33", "postLoad" : "beb 6/30/2020 11:43", "projectClass" : "beb 6/29/2020 17:25" } } From 0bb072a0450db4bbe0f40582886470d87dae432d Mon Sep 17 00:00:00 2001 From: beb Date: Thu, 6 Aug 2020 10:37:20 +0200 Subject: [PATCH 2/2] only install swalint if needed --- .../BaselineOfAlgernon.class/instance/postLoad.st | 3 ++- .../BaselineOfAlgernon.class/methodProperties.json | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/packages/BaselineOfAlgernon.package/BaselineOfAlgernon.class/instance/postLoad.st b/packages/BaselineOfAlgernon.package/BaselineOfAlgernon.class/instance/postLoad.st index bd28c825..3732bd8a 100644 --- a/packages/BaselineOfAlgernon.package/BaselineOfAlgernon.class/instance/postLoad.st +++ b/packages/BaselineOfAlgernon.package/BaselineOfAlgernon.class/instance/postLoad.st @@ -1,6 +1,7 @@ baseline postLoad - (Smalltalk globals at: #SwaLint) perform: #install. + Smalltalk globals at: #SwaLint + ifPresent: [:swalint | swalint perform: #install ]. "due to changes in the API of the cache, all references to it have to be removed" ALGItemProvider allInstances do: [:each | each cache: ALGCache new]. ALGInstallation instance cleanup. \ No newline at end of file diff --git a/packages/BaselineOfAlgernon.package/BaselineOfAlgernon.class/methodProperties.json b/packages/BaselineOfAlgernon.package/BaselineOfAlgernon.class/methodProperties.json index 89ede02b..ee6f1a18 100644 --- a/packages/BaselineOfAlgernon.package/BaselineOfAlgernon.class/methodProperties.json +++ b/packages/BaselineOfAlgernon.package/BaselineOfAlgernon.class/methodProperties.json @@ -3,5 +3,5 @@ }, "instance" : { "baseline:" : "beb 8/2/2020 16:33", - "postLoad" : "beb 6/30/2020 11:43", + "postLoad" : "beb 8/6/2020 10:36", "projectClass" : "beb 6/29/2020 17:25" } }