堆栈安装的LTS版本

时间:2017-07-05 21:35:40

标签: haskell package-managers haskell-stack

是否有一个堆栈命令可以运行以获取我的系统上堆栈安装的所有LTS版本的列表?

1 个答案:

答案 0 :(得分:6)

不确定bash命令,但您可以使用$ ls ~/.stack/snapshots/x86_64-linux/ 命令执行此操作:

lts-8.13  lts-8.15  lts-8.17  lts-8.21  lts-8.3

对我来说它打印:

x86_64-linux

而不是TAB应该是你的拱门。但你不需要记住它。只需在snapshots/之后按featureListName All Characteristics meMode cf naviMode automatic pdfExport false presProtocol false printer false printPlots false protNumbers 1 protocolDefinition nil protocolHead true psExport false ptxExport false runMode slowToFirst selection nil speed 300 changedate July 5, 2017 10:00:35 am changeoper Master changeswi 6.2.1602 changeTimestamp 3676701635 changeTimestampOld 3676701635 creationdate July 5, 2017 9:57:53 am creationdme Prismo creationswi 6.2.1602 date 2017-7-5 dateandtime July 5, 2017 5:05:53 pm datedayofmonth 5 datemonthindex 7 datesecondclock 3676745153 datestring July 5, 2017 dateyear 2017 dmeid Prismo dmesn 000000 drawingno mccplanversion nameOfFile c:\Users\Public\Documents\Zeiss\CALYPSO\workarea\inspections\test operid Master order partnbinc 3 partnbpre 3 planid test produceoper Master runswv 6.2.1602 time 5:05:53 pm u_field1 u_field2 u_field3 u_field4 Contura1