mirror of
https://github.com/nim-lang/Nim.git
synced 2025-12-30 09:54:49 +00:00
* docgen: minor refactoring via docOutDir * fix css for `nim doc subdir/foo` without --outdir nor -o * tcompilesetting.nim: keep `git status` clean * re-enable pkg nimgame2 that got fixed upstream
20 lines
319 B
Nim
20 lines
319 B
Nim
discard """
|
|
cmd: "nim c --nimcache:build/myNimCache --nimblePath:myNimblePath $file"
|
|
joinable: false
|
|
"""
|
|
|
|
import strutils
|
|
|
|
import std / compilesettings
|
|
|
|
const
|
|
nc = querySetting(nimcacheDir)
|
|
np = querySettingSeq(nimblePaths)
|
|
|
|
static:
|
|
echo nc
|
|
echo np
|
|
|
|
doAssert "myNimCache" in nc
|
|
doAssert "myNimblePath" in np[0]
|