From 26a3212dad85ae72a74250fd8f4e8fcbf52f6d9e Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Tue, 1 Oct 2024 15:47:37 -0500 Subject: [PATCH] add update task --- config.nims | 8 ++++++++ nimble.lock | 36 ++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 nimble.lock diff --git a/config.nims b/config.nims index fa68af4..1394a24 100644 --- a/config.nims +++ b/config.nims @@ -1,8 +1,16 @@ +# useful while hwylterm is tracking HEAD +task update, "update deps": + rmFile "nimble.lock" + rmDir "nimbledeps" + exec "nimble lock -l" + exec "nimble setup -l" + task build, "build": selfExec "c --outdir:bin src/hyprman.nim" # begin Nimble config (version 2) +--noNimblePath when withDir(thisDir(), system.fileExists("nimble.paths")): include "nimble.paths" # end Nimble config diff --git a/nimble.lock b/nimble.lock new file mode 100644 index 0000000..61f468a --- /dev/null +++ b/nimble.lock @@ -0,0 +1,36 @@ +{ + "version": 2, + "packages": { + "cligen": { + "version": "1.7.6", + "vcsRevision": "54f1da5d63cf7e116625e2392e85ae54c2b70719", + "url": "https://github.com/c-blake/cligen.git", + "downloadMethod": "git", + "dependencies": [], + "checksums": { + "sha1": "853785ddace4ee4f3c6c21bdf7f5e9ff0358eb3f" + } + }, + "hwylterm": { + "version": "0.1.0", + "vcsRevision": "5c71355b5f319a9c174ea88132c7c67a78d00030", + "url": "https://github.com/daylinmorgan/hwylterm", + "downloadMethod": "git", + "dependencies": [], + "checksums": { + "sha1": "30f8f61787c36b63d484f3d5e149995fad16c63c" + } + }, + "yaml": { + "version": "2.1.1", + "vcsRevision": "48a90e36e82bd97457dae87e86efe423dcd3bb40", + "url": "https://github.com/flyx/NimYAML", + "downloadMethod": "git", + "dependencies": [], + "checksums": { + "sha1": "302727fcd74c79d0697a4e909d26455d61a5b979" + } + } + }, + "tasks": {} +}