Refactor kafka to pure Go (franz-go), fix DBC stubs, update Dockerfile
This commit is contained in:
9
pkg/can-go/tools/git-verify-nodiff/git-verify-nodiff.bash
Executable file
9
pkg/can-go/tools/git-verify-nodiff/git-verify-nodiff.bash
Executable file
@@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
if [[ -n $(git status --porcelain) ]]; then
|
||||
echo "Staging area is dirty, please add all files created by the build to .gitignore"
|
||||
git diff --patch
|
||||
exit 1
|
||||
fi
|
||||
7
pkg/can-go/tools/git-verify-nodiff/rules.mk
Normal file
7
pkg/can-go/tools/git-verify-nodiff/rules.mk
Normal file
@@ -0,0 +1,7 @@
|
||||
git_verify_nodiff_cwd := $(abspath $(dir $(lastword $(MAKEFILE_LIST))))
|
||||
git_verify_nodiff := $(git_verify_nodiff_cwd)/git-verify-nodiff.bash
|
||||
|
||||
.PHONY: git-verify-nodiff
|
||||
git-verify-nodiff:
|
||||
@echo verifying that git has no diff...
|
||||
@$(git_verify_nodiff)
|
||||
Reference in New Issue
Block a user