Skip to content

Commit dd09621

Browse files
committed
1 parent bad100b commit dd09621

File tree

6 files changed

+70
-36
lines changed

6 files changed

+70
-36
lines changed

APLSource/Admin/Make.aplf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
cfg←M.GetPackageCfg C.HOME
88
M.FetchLaterUserCommand'Cider_UC.dyalog'cfg C('[MyUCMDs]Cider')
99
M.RecreateFolder path
10-
version←cfg M.CompileVersionNumberPattern C.HOME
10+
version←M.CompileVersionNumberPattern cfg
1111
zipFilename←⎕SE.Tatin.BuildPackage C.HOME path version
1212
⎕←'*** New version build successfully:',M.CR,' ',zipFilename
1313
:If 1 M.YesOrNo'Install new version in MyUCMDs?'

APLSource/Cider/Cider.aplc

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,11 @@
99

1010
∇ r←Version
1111
:Access Public Shared
12-
r←'0.23.3+367'
12+
r←'0.23.4+367'
13+
⍝ * 0.23.4 ⋄ 2023-03-08
14+
⍝ * Bug fix: Cider now checks whether Tatin is available in ⎕se. If it's not it attempts to execute
15+
⍝ Tatin's "Version" function: that should force Tatin into ⎕SE
16+
⍝ * The documentation regarding the relationship between Cider and tatin has been clarified
1317
⍝ * 0.23.3 ⋄ 2023-03-03
1418
⍝ * Bug fix: Cider did not attempt to load its packages in case they are not found in ⎕SE in case
1519
⍝ a Cider user command is executed by the user.

APLSource/Cider_uc.dyalog

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
:Class Cider_UC
1+
:Class Cider_UC
22
User Command class for the project manager "Cider"
33
Kai Jaeger
4-
2023-03-03
4+
2023-03-08
55

66
⎕IO1 ⎕ML1 ⎕WX3
77
MinimumVersionOfDyalog'18.0'
@@ -96,6 +96,13 @@
9696
:Access Shared Public
9797
r0 0''
9898
('Cider needs at least version ',MinimumVersionOfDyalog,' of Dyalog APL')Assert AtLeastVersion(//)⎕VFI MinimumVersionOfDyalog
99+
:If 0=⎕SE.⎕NC'Tatin'
100+
:Trap 6
101+
{}⎕SE.UCMD'Tatin.Version'
102+
:Else
103+
'Tatin is not available and cannot be loaded into ⎕SE, therefore Cider won''t work'Assert 0
104+
:EndTrap
105+
:EndIf
99106
:If 0=⎕SE.⎕NC'Cider'
100107
{}⎕SE.Tatin.LoadDependencies(⎕NPARTS ##.SourceFile)'⎕SE'
101108
:EndIf

apl-package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ api: "Cider", assets: "html", description: "A project manager for Dyalog APL that cooperates with Tatin", documentation: "", files: "cider.config.template", group: "aplteam", io: 1, license: "MIT", lx: "Init", maintainer: "kai@aplteam.com", minimumAplVersion: "18.0", ml: 1, name: "Cider", os_lin: 1, os_mac: 1, os_win: 1, project_url: "https://github.com/aplteam/Cider", source: "APLSource/Cider/", tags: "project-management", userCommandScript: "APLSource/Cider_UC.dyalog", version: "0.23.3+375",}
1+
{ api: "Cider", assets: "html", description: "A project manager for Dyalog APL that cooperates with Tatin", documentation: "", files: "cider.config.template", group: "aplteam", io: 1, license: "MIT", lx: "Init", maintainer: "kai@aplteam.com", minimumAplVersion: "18.0", ml: 1, name: "Cider", os_lin: 1, os_mac: 1, os_win: 1, project_url: "https://github.com/aplteam/Cider", source: "APLSource/Cider/", tags: "project-management", userCommandScript: "APLSource/Cider_UC.dyalog", version: "0.23.4+376",}

docs/Cider-User-Guide.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,15 @@ The two most important commands of Cider's user commands are `CreateProject` and
2121

2222
I> Note that in this document names stemming from the Cider configuration file are shown `like this`.
2323

24+
### Requirements
25+
26+
Cider relies on the [Tatin packet manager](https://github.com/aplteam/Tatin "Link to Tatin on GitHub") because it is a Tatin package. With version 19.0 and later Tatin will be available in `⎕SE` right from the start. With earlier versions (18.0 and 18.2) it's up to the user to take care of that.
27+
28+
If Tatin is not in `⎕SE` but available in the `MyUCMDs/` folder then Cider will attempt to load it by executing the user command `]Tatin.Version which should implicitly load Tatin into `⎕SE`.
29+
30+
I> Note that Tatin will check whether Cider is available, and if so cooperate with it. However, Cider is not a requirement for Tatin.
31+
32+
2433
### CreateProject
2534

2635
With `]Cider.CreateProject` any folder that does not yet host a file `cider.config` can be transformed into a Cider project. (You may specify the `-acceptConfig` flag to override this default behaviour and make Cider accept an already existing file `cider.config`)

0 commit comments

Comments
 (0)