added Atlas helper tool (#18497)

* added Atlas helper tool
* further improvements
This commit is contained in:
Andreas Rumpf 2021-07-16 07:42:35 +02:00 • committed by GitHub
commit 089e741ce4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 751 additions and 1 deletions

View file

@ -222,7 +222,13 @@ proc buildTools(args: string = "") =
# `-d:nimDebugUtils` only makes sense when temporarily editing/debugging compiler
# `-d:debug` should be changed to a flag that doesn't require re-compiling nim
# `--opt:speed` is a sensible default even for a debug build, it doesn't affect nim stacktraces
nimCompileFold("Compile nim_dbg", "compiler/nim.nim", options = "--opt:speed --stacktrace -d:debug --stacktraceMsgs -d:nimCompilerStacktraceHints " & args, outputName = "nim_dbg")
nimCompileFold("Compile nim_dbg", "compiler/nim.nim", options =
"--opt:speed --stacktrace -d:debug --stacktraceMsgs -d:nimCompilerStacktraceHints " & args,
outputName = "nim_dbg")
nimCompileFold("Compile atlas", "tools/atlas/atlas.nim", options = "-d:release " & args,
outputName = "atlas")
proc nsis(latest: bool; args: string) =
bundleNimbleExe(latest, args)