You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
342 B

import os
import src/project
let projDir = getProjRootDir()
var tmpPath: string
for dir in ["src", "tests"]:
tmpPath = joinPath(projDir, dir)
var f = open(joinPath(tmpPath, "nim.cfg"), fmWrite)
f.writeLine("--outdir:\"" & joinPath(projDir, "bin", dir) & "\"")
f.writeLine("--path:\"" & joinPath(projDir, "src") & "\"")
f.close()