From 374d5e91ac0d8c25e6f461ec9919dfd3192e8242 Mon Sep 17 00:00:00 2001 From: Jimmi Holst Christensen Date: Sun, 29 Nov 2020 12:13:19 +0100 Subject: Don't format in build script We let CI catch unformatted code and let users run fmt in the best way for them --- build.zig | 8 -------- 1 file changed, 8 deletions(-) diff --git a/build.zig b/build.zig index c32f4c2..ef67a5f 100644 --- a/build.zig +++ b/build.zig @@ -8,13 +8,6 @@ pub fn build(b: *Builder) void { const mode = b.standardReleaseOptions(); const target = b.standardTargetOptions(.{}); - const fmt_step = b.addFmt(&[_][]const u8{ - "build.zig", - "clap.zig", - "clap", - "example", - }); - const test_all_step = b.step("test", "Run all tests in all modes."); inline for ([_]Mode{ Mode.Debug, Mode.ReleaseFast, Mode.ReleaseSafe, Mode.ReleaseSmall }) |test_mode| { const mode_str = comptime modeToString(test_mode); @@ -56,7 +49,6 @@ pub fn build(b: *Builder) void { all_step.dependOn(example_step); all_step.dependOn(readme_step); - b.default_step.dependOn(&fmt_step.step); b.default_step.dependOn(all_step); } -- cgit v1.2.3 From 7e7bd44b75961b76ff4a174bd960cf42c8551cb4 Mon Sep 17 00:00:00 2001 From: dependabot-preview[bot] Date: Sun, 29 Nov 2020 17:07:55 +0000 Subject: Create Dependabot config file --- .github/dependabot.yml | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..a1b31f1 --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,8 @@ +version: 2 +updates: +- package-ecosystem: github-actions + directory: "/" + schedule: + interval: daily + time: "11:00" + open-pull-requests-limit: 10 -- cgit v1.2.3 From 5a19cce0bc4b2be9477e43e7da0672aaae05ca64 Mon Sep 17 00:00:00 2001 From: dependabot[bot] Date: Sun, 29 Nov 2020 17:09:10 +0000 Subject: Bump goto-bus-stop/setup-zig from v1.2.5 to v1.3.0 Bumps [goto-bus-stop/setup-zig](https://github.com/goto-bus-stop/setup-zig) from v1.2.5 to v1.3.0. - [Release notes](https://github.com/goto-bus-stop/setup-zig/releases) - [Changelog](https://github.com/goto-bus-stop/setup-zig/blob/default/CHANGELOG.md) - [Commits](https://github.com/goto-bus-stop/setup-zig/compare/v1.2.5...41ae19e72e21b9a1380e86ff9f058db709fc8fc6) Signed-off-by: dependabot[bot] --- .github/workflows/main.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 4807c4b..61b4cd7 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -10,7 +10,7 @@ jobs: - uses: actions/checkout@v2.3.4 with: submodules: recursive - - uses: goto-bus-stop/setup-zig@v1.2.5 + - uses: goto-bus-stop/setup-zig@v1.3.0 with: version: 0.7.0 - run: zig build @@ -18,7 +18,7 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2.3.4 - - uses: goto-bus-stop/setup-zig@v1.2.5 + - uses: goto-bus-stop/setup-zig@v1.3.0 with: version: 0.7.0 - run: zig fmt --check . -- cgit v1.2.3 From b805a2e39bdc7e428a0bf776ead8004658b921a8 Mon Sep 17 00:00:00 2001 From: Meghan Date: Sun, 6 Dec 2020 01:47:27 -0800 Subject: Create zig.mod --- zig.mod | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 zig.mod diff --git a/zig.mod b/zig.mod new file mode 100644 index 0000000..c9bd69f --- /dev/null +++ b/zig.mod @@ -0,0 +1,3 @@ +name: clap +main: clap.zig +dependencies: -- cgit v1.2.3