File tree 3 files changed +13
-4
lines changed 3 files changed +13
-4
lines changed Original file line number Diff line number Diff line change @@ -126,6 +126,10 @@ jobs:
126
126
shell : bash
127
127
run : ./koch boot -d:release
128
128
129
+ - name : ' ./koch fusion'
130
+ shell : bash
131
+ run : ./koch fusion
132
+
129
133
- name : ' Build documentation'
130
134
shell : bash
131
135
run : ./koch doc --git.commit:devel
Original file line number Diff line number Diff line change @@ -188,5 +188,5 @@ with other backends. see #9125. Use `-d:nimLegacyJsRound` for previous behavior.
188
188
row (` :--- ` , ` :--: ` , ` ---: ` ) are ignored,
189
189
- every table row must start with ` | ` , e.g. ` | cell 1 | cell 2 | ` .
190
190
191
- - ` fusion ` is now un-bundled from nim, ` ./koch fusion ` will result in an error.
192
- ` nimble install fusion ` should be used instead .
191
+ - ` fusion ` is now un-bundled from nim, ` ./koch fusion ` will
192
+ install it via nimble at a fixed hash .
Original file line number Diff line number Diff line change 11
11
12
12
const
13
13
NimbleStableCommit = " 324de9202fb3db82b266e7350731d1ec41013a2b" # master
14
-
14
+ # examle of possible values: #head, #ea82b54, 1.2.3
15
+ FusionStableCommitHash = " #372ee4313827ef9f2ea388840f7d6b46c2b1b014"
16
+ HeadHash = " #head"
15
17
when not defined (windows):
16
18
const
17
19
Z3StableCommit = " 65de3f748a6812eecd7db7c478d5fc54424d368b" # the version of Z3 that DrNim uses
@@ -65,6 +67,7 @@ Possible Commands:
65
67
e.g. nimble)
66
68
doesn't require network connectivity
67
69
nimble builds the Nimble tool
70
+ fusion installs fusion via Nimble
68
71
69
72
Boot options:
70
73
-d:release produce a release version of the compiler
@@ -689,7 +692,9 @@ when isMainModule:
689
692
of " valgrind" : valgrind (op.cmdLineRest)
690
693
of " c2nim" : bundleC2nim (op.cmdLineRest)
691
694
of " drnim" : buildDrNim (op.cmdLineRest)
692
- of " fusion" : doAssert false , " `./koch fusion` was deprecated, use `nimble install fusion` instead"
695
+ of " fusion" :
696
+ let suffix = if latest: HeadHash else : FusionStableCommitHash
697
+ exec (" nimble install -y fusion@$#" % suffix)
693
698
else : showHelp ()
694
699
break
695
700
of cmdEnd: break
You can’t perform that action at this time.
0 commit comments