From ccb303134b2fd47eae4684c6c49651bc14cc2bfd Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Thu, 16 Nov 2023 11:33:42 -0600 Subject: [PATCH] chore: move flag to `nim.cfg` file --- config.nims | 2 -- src/nimpkgs.nim.cfg | 1 + 2 files changed, 1 insertion(+), 2 deletions(-) create mode 100644 src/nimpkgs.nim.cfg diff --git a/config.nims b/config.nims index 96a31a1..b18fea5 100644 --- a/config.nims +++ b/config.nims @@ -1,7 +1,5 @@ import std/[strutils, strformat] ---backend:js - proc getCommitInfo*(): (string, string) = if not dirExists "src/packages": echo "cloning nim-lang/packages" diff --git a/src/nimpkgs.nim.cfg b/src/nimpkgs.nim.cfg new file mode 100644 index 0000000..7fbff7c --- /dev/null +++ b/src/nimpkgs.nim.cfg @@ -0,0 +1 @@ +--backend:js