Skip to content

Commit

Permalink
CI: fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tarassh committed Aug 21, 2024
1 parent 87f8b11 commit 1db0ae1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Makefile.toml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ args = ["clippy", "--", "--deny", "warnings"]

[tasks.header-add]
script = { file = "./scripts/add_header_if_missing.sh" }
args = ["HEADER-APACHE2", "./!(target)/**/*.rs"]
args = ["HEADER-APACHE2", "./**/*.rs"]

[tasks.header-check]
env = { CHECK_DIRTY = "true", DRY_RUN = "true" }
Expand Down
2 changes: 1 addition & 1 deletion scripts/add_header_if_missing.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -euo pipefail
shopt -s extglob

HEADER=${1:-HEADER-APACHE2}
START_PATH=${2:-"./!(target)/**/*.rs"}
START_PATH=${2:-"./**/*.rs"}
CHECK_DIRTY=${CHECK_DIRTY:="false"}
DRY_RUN=${DRY_RUN:-"false"}

Expand Down
2 changes: 1 addition & 1 deletion tests/integration.rs
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright 2024, The Horizen Foundation
// Copyright 2024, Horizen Labs, Inc.
// SPDX-License-Identifier: Apache-2.0
//
// Licensed under the Apache License, Version 2.0 (the "License");
Expand Down

0 comments on commit 1db0ae1

Please sign in to comment.