diff --git a/.circleci/config.yml b/.circleci/config.yml index 302f6ad1861bb0bede9c29d9a962d9c63a017a2d..7680ba099580c73abaf50355862f9505acb084ab 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -15,7 +15,7 @@ jobs: - run: git submodule update --init --recursive - run: apt -y install xz-utils jq - - run: ./download_zig.sh 0.9.0-dev.831+5806c386e + - run: ./download_zig.sh 0.9.0-dev.865+f30aa25cb - run: zig version - run: zig env - run: zig build -Dbootstrap diff --git a/README.md b/README.md index 1a452b927fbb2cd885337faf41c71c784c33e789..c89981c697c38eee4e01b75ca842167125423003 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ A package manager for the Zig programming language. - https://github.com/nektro/zigmod/releases ## Built With -- Zig master `0.9.0-dev.831+5806c386e` +- Zig master `0.9.0-dev.865+f30aa25cb` - https://github.com/yaml/libyaml - https://github.com/nektro/zig-ansi - https://github.com/ziglibs/known-folders diff --git a/build.zig b/build.zig index 0a28eb1e2bbc42ad1a3d357e6e657b76f247ebec..22b88dcebd30843620145976a49fe8ef044e8ae7 100644 --- a/build.zig +++ b/build.zig @@ -15,9 +15,12 @@ pub fn build(b: *std.build.Builder) void { const exe = b.addExecutable(exe_name, "src/main.zig"); exe.setTarget(target); exe.setBuildMode(mode); - exe.addBuildOption([]const u8, "version", b.option([]const u8, "tag", "") orelse "dev"); const bootstrap = b.option(bool, "bootstrap", "bootstrapping with just the zig compiler"); - exe.addBuildOption(bool, "bootstrap", bootstrap != null); + + const exe_options = b.addOptions(); + exe.addOptions("build_options", exe_options); + exe_options.addOption([]const u8, "version", b.option([]const u8, "version", "") orelse "dev"); + exe_options.addOption(bool, "bootstrap", bootstrap != null); if (bootstrap != null) { exe.linkLibC(); diff --git a/docs/README.md b/docs/README.md index d582e442ab5e050699bfec12fb4f1f0ae810e9bb..1f96ebd6cef8604682f9336ae6b7e9365057214c 100644 --- a/docs/README.md +++ b/docs/README.md @@ -10,7 +10,7 @@ The rest of this documentation will assume you already have Zig installed. As Zig is still in development itself, if you plan to contribute to Zigmod you will need a master download of Zig. Those can be obtained from https://ziglang.org/download/#release-master. -The most recent release Zigmod was verified to work with is `0.9.0-dev.831+5806c386e`. +The most recent release Zigmod was verified to work with is `0.9.0-dev.865+f30aa25cb`. ## Download You may download a precompiled binary from https://github.com/nektro/zigmod/releases or build the project from source. diff --git a/zigmod.lock b/zigmod.lock index fe1e9797bad2b893d2f27368e4a97535824cc06b..5a3be7471f3dcf578028e225085313beb99b552c 100644 --- a/zigmod.lock +++ b/zigmod.lock @@ -6,9 +6,9 @@ git https://github.com/nektro/zig-licenses commit-c9b8cbf3565675a056ad4e9b57cb4f git https://github.com/truemedian/zfetch commit-55b3354ae16089b9e1020580e0b93aa9c698eb8f git https://github.com/truemedian/hzzp commit-492107d44caa2676c7b5aa4e934e1e937232d652 git https://github.com/alexnask/iguanaTLS commit-0d39a361639ad5469f8e4dcdaea35446bbe54b48 -git https://github.com/MasterQ32/zig-network commit-b9c91769d8ebd626c8e45b2abb05cbc28ccc50da +git https://github.com/MasterQ32/zig-network commit-8e03f59d6d4cb01a7039edb2cf2a6288704a9bae git https://github.com/MasterQ32/zig-uri commit-52cdd2061bec0579519f0d30280597f3a1db8b75 -git https://github.com/nektro/zig-json commit-72e555fbc0776f2600aee19b01e5ab1855ebec7a +git https://github.com/nektro/zig-json commit-b7c42514db96ad9cb6d57c792499b5f92d516fa1 git https://github.com/nektro/zig-range commit-890ca308fe09b3d5c866d5cfb3b3d7a95dbf939f git https://github.com/nektro/zig-detect-license commit-d4544410f811c402b866f21f63588d1aae1b2d90 git https://github.com/nektro/zig-licenses-text commit-3c07c6e4eb0965dafd0b029c632f823631b3169c diff --git a/zigmod.sum b/zigmod.sum index 12e1619da6ee47b0411e2f7dfccf5f817ee0f7ee..a261e98c0244ba37dcf088211893e00bcec976e6 100644 --- a/zigmod.sum +++ b/zigmod.sum @@ -5,9 +5,9 @@ blake3-42c3fae77ef41d2074e74de2d91cfc66bc591170494b10262dd2aeaea0b60cb5 git/gith blake3-811ba5947b9d8d4d714ac46d4c045ba6086db18659abc3e4f0af5a5761a7cbdc git/github.com/truemedian/zfetch blake3-39ecd07006b01d710e2e98e5b059ae21edea39987414a18aa9b4dae38705440d git/github.com/truemedian/hzzp blake3-e6901bd7432450d5b22b01880cc7fa3fa2433e766a527206f18b29c67c1349bb git/github.com/alexnask/iguanaTLS -blake3-21f91e48333ac0ca7f4704c96352831c25216e7056d02ce24de95d03fc942246 git/github.com/MasterQ32/zig-network +blake3-c58475c89031a6c71c3de42b4ea8ab74161060c5a5cb4631bf3dab31a87ca6dc git/github.com/MasterQ32/zig-network blake3-030ebb03f1ed21122e681b06786bea6f2f1b810e8eb9f2029d0eee4f4fb3103f git/github.com/MasterQ32/zig-uri -blake3-1893709ffc6359c5f9cd2f9409abccf78a94ed37bb2c6dd075c603356d17c94b git/github.com/nektro/zig-json +blake3-9978fc554d0d96253bda4db1cc9962976463ca50807aea0de23d49169b3f79be git/github.com/nektro/zig-json blake3-09698753782139ab4877d08f33235170836f68b73e482b65cdee5637a6addf86 git/github.com/nektro/zig-range blake3-dbbd8d54afa4f2ba93fe11396ca8137c85b4be358ffd106829668f74c9568739 git/github.com/nektro/zig-detect-license blake3-20ceb9e27bdb93540e93006628fb94e0540f3f69a2304a8f73ad2989b8e27226 git/github.com/nektro/zig-licenses-text