11# # Hastur - Tester tool for Nimony and its related subsystems (NIFC etc).
2- # # (c) 2024 Andreas Rumpf
2+ # # (c) 2024-2025 Andreas Rumpf
33
44when defined (windows):
55 when defined (gcc):
@@ -17,12 +17,12 @@ const
1717 Version = " 0.6"
1818 Usage = " hastur - tester tool for Nimony Version " & Version & """
1919
20- (c) 2024 Andreas Rumpf
20+ (c) 2024-2025 Andreas Rumpf
2121Usage:
2222 hastur [options] [command] [arguments]
2323
2424Commands:
25- build [all|nimony|nifler|hexer|nifc] build selected tools (default: all).
25+ build [all|nimony|nifler|hexer|nifc|nifmake ] build selected tools (default: all).
2626 all run all tests (also the default action).
2727 nimony run Nimony tests.
2828 nifc run NIFC tests.
@@ -476,6 +476,11 @@ proc buildHexer(showProgress = false) =
476476 let exe = " hexer" .addFileExt (ExeExt )
477477 robustMoveFile " src/hexer/" & exe, binDir () / exe
478478
479+ proc buildNifmake (showProgress = false ) =
480+ exec " nim c src/nifmake/nifmake.nim" , showProgress
481+ let exe = " nifmake" .addFileExt (ExeExt )
482+ robustMoveFile " src/nifmake/" & exe, binDir () / exe
483+
479484proc execNifc (cmd: string ) =
480485 exec " nifc" , cmd
481486
@@ -596,6 +601,7 @@ proc handleCmdLine =
596601 buildNimony (showProgress)
597602 buildNifc (showProgress)
598603 buildHexer (showProgress)
604+ buildNifmake (showProgress)
599605 of " nifler" :
600606 buildNifler (showProgress)
601607 of " nimony" :
@@ -605,6 +611,8 @@ proc handleCmdLine =
605611 buildNifc (showProgress)
606612 of " hexer" :
607613 buildHexer (showProgress)
614+ of " nifmake" :
615+ buildNifmake (showProgress)
608616 else :
609617 writeHelp ()
610618 removeDir " nimcache"
0 commit comments