chore: move flag to `nim.cfg` file

This commit is contained in:
Daylin Morgan 2023-11-16 11:33:42 -06:00
parent 39bf6f2d05
commit ccb303134b
Signed by: daylin
GPG Key ID: C1E52E7DD81DF79F
2 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,5 @@
import std/[strutils, strformat]
--backend:js
proc getCommitInfo*(): (string, string) =
if not dirExists "src/packages":
echo "cloning nim-lang/packages"

1
src/nimpkgs.nim.cfg Normal file
View File

@ -0,0 +1 @@
--backend:js