Skip to content

Commit cc893e6

Browse files
authored
Update branch name to dev in test/build scripts (#244)
1 parent 74c0bd7 commit cc893e6

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ $(foreach CMAKE_TARGET,$(CMAKE_TARGETS),$(eval $(GEN_CMAKE_RULE)))
9292
# scripts that are executed in the CI should be in tests/lint. This
9393
# allows docker/lint.sh to behave similarly to the CI.
9494
format:
95-
./tests/lint/git-clang-format.sh -i origin/main
95+
./tests/lint/git-clang-format.sh -i origin/dev
9696
black .
9797
cd rust && which cargo && cargo fmt --all
9898

docker/lint.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ function run_lint_step() {
4545
# NOTE: need to run git status to update some docker-side cache. Otherwise,
4646
# git-clang-format will fail with "The following files would be modified but have
4747
# unstaged changes:"
48-
cmd=( bash -c 'git status &>/dev/null && tests/lint/git-clang-format.sh -i origin/main' )
48+
cmd=( bash -c 'git status &>/dev/null && tests/lint/git-clang-format.sh -i origin/dev' )
4949
fi
5050
;;
5151
cpplint)
@@ -61,7 +61,7 @@ function run_lint_step() {
6161
if [ $inplace_fix -eq 0 ]; then
6262
cmd=( tests/lint/python_format.sh )
6363
else
64-
cmd=( tests/lint/git-black.sh -i origin/main )
64+
cmd=( tests/lint/git-black.sh -i origin/dev )
6565
fi
6666
;;
6767
jnilint)

tests/scripts/git_change_docs.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ DOCS_DIR=0
2424
OTHER_DIR=0
2525
DOC_DIR="docs/"
2626

27-
changed_files=`git diff --no-commit-id --name-only -r origin/main`
27+
changed_files=`git diff --no-commit-id --name-only -r origin/dev`
2828

2929
for file in $changed_files; do
3030
FOUND_ONE_FILE=1

0 commit comments

Comments
 (0)