Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
*.dll
*.so
*.dylib

build/tools
# Test binary, build with `go test -c`
*.test

Expand Down
3 changes: 1 addition & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,4 @@ linters: # @HELP examines Go source code and reports coding problems
golangci-lint run

license_check: # @HELP examine and ensure license headers exist
@if [ ! -d "../build-tools" ]; then cd .. && git clone https://github.com/onosproject/build-tools.git; fi
./../build-tools/licensing/boilerplate.py -v --rootdir=${CURDIR}
./build/bin/license-check
11 changes: 11 additions & 0 deletions build/bin/license-check
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
#!/bin/bash

set -e

if [ ! -d "build/tools" ]; then
git clone https://github.com/onosproject/build-tools.git build/tools
fi

git -C build/tools checkout v0.6.1

./build/tools/licensing/boilerplate.py -v --rootdir=$(pwd)
1 change: 1 addition & 0 deletions build/tools
Submodule tools added at c8fbce