| author | |
| committer | |
| log | 5c344f1380681ed57b1e877be92c33858d9ec7b2 |
| tree | 925625dded164819e3df51b71ee90cf610930aae |
| parent | 7039015ab6f1a53591e69c593f4b7f0e32c29caf |
6 files changed, 12 insertions(+), 9 deletions(-)
.circleci/config.yml+1-1| ... | @@ -15,7 +15,7 @@ jobs: | ... | @@ -15,7 +15,7 @@ jobs: |
| 15 | - run: git submodule update --init --recursive | 15 | - run: git submodule update --init --recursive |
| 16 | 16 | ||
| 17 | - run: apt -y install xz-utils jq | 17 | - run: apt -y install xz-utils jq |
| 18 | - run: ./download_zig.sh 0.9.0-dev.831+5806c386e | 18 | - run: ./download_zig.sh 0.9.0-dev.865+f30aa25cb |
| 19 | - run: zig version | 19 | - run: zig version |
| 20 | - run: zig env | 20 | - run: zig env |
| 21 | - run: zig build -Dbootstrap | 21 | - run: zig build -Dbootstrap |
README.md+1-1| ... | @@ -17,7 +17,7 @@ A package manager for the Zig programming language. | ... | @@ -17,7 +17,7 @@ A package manager for the Zig programming language. |
| 17 | - https://github.com/nektro/zigmod/releases | 17 | - https://github.com/nektro/zigmod/releases |
| 18 | 18 | ||
| 19 | ## Built With | 19 | ## Built With |
| 20 | - Zig master `0.9.0-dev.831+5806c386e` | 20 | - Zig master `0.9.0-dev.865+f30aa25cb` |
| 21 | - https://github.com/yaml/libyaml | 21 | - https://github.com/yaml/libyaml |
| 22 | - https://github.com/nektro/zig-ansi | 22 | - https://github.com/nektro/zig-ansi |
| 23 | - https://github.com/ziglibs/known-folders | 23 | - https://github.com/ziglibs/known-folders |
build.zig+5-2| ... | @@ -15,9 +15,12 @@ pub fn build(b: *std.build.Builder) void { | ... | @@ -15,9 +15,12 @@ pub fn build(b: *std.build.Builder) void { |
| 15 | const exe = b.addExecutable(exe_name, "src/main.zig"); | 15 | const exe = b.addExecutable(exe_name, "src/main.zig"); |
| 16 | exe.setTarget(target); | 16 | exe.setTarget(target); |
| 17 | exe.setBuildMode(mode); | 17 | exe.setBuildMode(mode); |
| 18 | exe.addBuildOption([]const u8, "version", b.option([]const u8, "tag", "") orelse "dev"); | ||
| 19 | const bootstrap = b.option(bool, "bootstrap", "bootstrapping with just the zig compiler"); | 18 | const bootstrap = b.option(bool, "bootstrap", "bootstrapping with just the zig compiler"); |
| 20 | exe.addBuildOption(bool, "bootstrap", bootstrap != null); | 19 | |
| 20 | const exe_options = b.addOptions(); | ||
| 21 | exe.addOptions("build_options", exe_options); | ||
| 22 | exe_options.addOption([]const u8, "version", b.option([]const u8, "version", "") orelse "dev"); | ||
| 23 | exe_options.addOption(bool, "bootstrap", bootstrap != null); | ||
| 21 | 24 | ||
| 22 | if (bootstrap != null) { | 25 | if (bootstrap != null) { |
| 23 | exe.linkLibC(); | 26 | exe.linkLibC(); |
docs/README.md+1-1| ... | @@ -10,7 +10,7 @@ The rest of this documentation will assume you already have Zig installed. | ... | @@ -10,7 +10,7 @@ The rest of this documentation will assume you already have Zig installed. |
| 10 | 10 | ||
| 11 | 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. | 11 | 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. |
| 12 | 12 | ||
| 13 | The most recent release Zigmod was verified to work with is `0.9.0-dev.831+5806c386e`. | 13 | The most recent release Zigmod was verified to work with is `0.9.0-dev.865+f30aa25cb`. |
| 14 | 14 | ||
| 15 | ## Download | 15 | ## Download |
| 16 | You may download a precompiled binary from https://github.com/nektro/zigmod/releases or build the project from source. | 16 | You may download a precompiled binary from https://github.com/nektro/zigmod/releases or build the project from source. |
zigmod.lock+2-2| ... | @@ -6,9 +6,9 @@ git https://github.com/nektro/zig-licenses commit-c9b8cbf3565675a056ad4e9b57cb4f | ... | @@ -6,9 +6,9 @@ git https://github.com/nektro/zig-licenses commit-c9b8cbf3565675a056ad4e9b57cb4f |
| 6 | git https://github.com/truemedian/zfetch commit-55b3354ae16089b9e1020580e0b93aa9c698eb8f | 6 | git https://github.com/truemedian/zfetch commit-55b3354ae16089b9e1020580e0b93aa9c698eb8f |
| 7 | git https://github.com/truemedian/hzzp commit-492107d44caa2676c7b5aa4e934e1e937232d652 | 7 | git https://github.com/truemedian/hzzp commit-492107d44caa2676c7b5aa4e934e1e937232d652 |
| 8 | git https://github.com/alexnask/iguanaTLS commit-0d39a361639ad5469f8e4dcdaea35446bbe54b48 | 8 | git https://github.com/alexnask/iguanaTLS commit-0d39a361639ad5469f8e4dcdaea35446bbe54b48 |
| 9 | git https://github.com/MasterQ32/zig-network commit-b9c91769d8ebd626c8e45b2abb05cbc28ccc50da | 9 | git https://github.com/MasterQ32/zig-network commit-8e03f59d6d4cb01a7039edb2cf2a6288704a9bae |
| 10 | git https://github.com/MasterQ32/zig-uri commit-52cdd2061bec0579519f0d30280597f3a1db8b75 | 10 | git https://github.com/MasterQ32/zig-uri commit-52cdd2061bec0579519f0d30280597f3a1db8b75 |
| 11 | git https://github.com/nektro/zig-json commit-72e555fbc0776f2600aee19b01e5ab1855ebec7a | 11 | git https://github.com/nektro/zig-json commit-b7c42514db96ad9cb6d57c792499b5f92d516fa1 |
| 12 | git https://github.com/nektro/zig-range commit-890ca308fe09b3d5c866d5cfb3b3d7a95dbf939f | 12 | git https://github.com/nektro/zig-range commit-890ca308fe09b3d5c866d5cfb3b3d7a95dbf939f |
| 13 | git https://github.com/nektro/zig-detect-license commit-d4544410f811c402b866f21f63588d1aae1b2d90 | 13 | git https://github.com/nektro/zig-detect-license commit-d4544410f811c402b866f21f63588d1aae1b2d90 |
| 14 | git https://github.com/nektro/zig-licenses-text commit-3c07c6e4eb0965dafd0b029c632f823631b3169c | 14 | git https://github.com/nektro/zig-licenses-text commit-3c07c6e4eb0965dafd0b029c632f823631b3169c |
zigmod.sum+2-2| ... | @@ -5,9 +5,9 @@ blake3-42c3fae77ef41d2074e74de2d91cfc66bc591170494b10262dd2aeaea0b60cb5 git/gith | ... | @@ -5,9 +5,9 @@ blake3-42c3fae77ef41d2074e74de2d91cfc66bc591170494b10262dd2aeaea0b60cb5 git/gith |
| 5 | blake3-811ba5947b9d8d4d714ac46d4c045ba6086db18659abc3e4f0af5a5761a7cbdc git/github.com/truemedian/zfetch | 5 | blake3-811ba5947b9d8d4d714ac46d4c045ba6086db18659abc3e4f0af5a5761a7cbdc git/github.com/truemedian/zfetch |
| 6 | blake3-39ecd07006b01d710e2e98e5b059ae21edea39987414a18aa9b4dae38705440d git/github.com/truemedian/hzzp | 6 | blake3-39ecd07006b01d710e2e98e5b059ae21edea39987414a18aa9b4dae38705440d git/github.com/truemedian/hzzp |
| 7 | blake3-e6901bd7432450d5b22b01880cc7fa3fa2433e766a527206f18b29c67c1349bb git/github.com/alexnask/iguanaTLS | 7 | blake3-e6901bd7432450d5b22b01880cc7fa3fa2433e766a527206f18b29c67c1349bb git/github.com/alexnask/iguanaTLS |
| 8 | blake3-21f91e48333ac0ca7f4704c96352831c25216e7056d02ce24de95d03fc942246 git/github.com/MasterQ32/zig-network | 8 | blake3-c58475c89031a6c71c3de42b4ea8ab74161060c5a5cb4631bf3dab31a87ca6dc git/github.com/MasterQ32/zig-network |
| 9 | blake3-030ebb03f1ed21122e681b06786bea6f2f1b810e8eb9f2029d0eee4f4fb3103f git/github.com/MasterQ32/zig-uri | 9 | blake3-030ebb03f1ed21122e681b06786bea6f2f1b810e8eb9f2029d0eee4f4fb3103f git/github.com/MasterQ32/zig-uri |
| 10 | blake3-1893709ffc6359c5f9cd2f9409abccf78a94ed37bb2c6dd075c603356d17c94b git/github.com/nektro/zig-json | 10 | blake3-9978fc554d0d96253bda4db1cc9962976463ca50807aea0de23d49169b3f79be git/github.com/nektro/zig-json |
| 11 | blake3-09698753782139ab4877d08f33235170836f68b73e482b65cdee5637a6addf86 git/github.com/nektro/zig-range | 11 | blake3-09698753782139ab4877d08f33235170836f68b73e482b65cdee5637a6addf86 git/github.com/nektro/zig-range |
| 12 | blake3-dbbd8d54afa4f2ba93fe11396ca8137c85b4be358ffd106829668f74c9568739 git/github.com/nektro/zig-detect-license | 12 | blake3-dbbd8d54afa4f2ba93fe11396ca8137c85b4be358ffd106829668f74c9568739 git/github.com/nektro/zig-detect-license |
| 13 | blake3-20ceb9e27bdb93540e93006628fb94e0540f3f69a2304a8f73ad2989b8e27226 git/github.com/nektro/zig-licenses-text | 13 | blake3-20ceb9e27bdb93540e93006628fb94e0540f3f69a2304a8f73ad2989b8e27226 git/github.com/nektro/zig-licenses-text |