Skip to content

Commit e59ca5f

Browse files
authored
Merge pull request #173 from prometheus-community/vendor_license
Vendor golang/tools license
2 parents f8275e6 + b3b2844 commit e59ca5f

File tree

4 files changed

+31
-0
lines changed

4 files changed

+31
-0
lines changed
File renamed without changes.

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ update_internal_packages:
6565
mkdir -p `dirname $$dir$$subdir`; \
6666
cp -r $$TMPDIR/internal/$$subdir $$dir$$subdir; \
6767
done; \
68+
cp $$TMPDIR/LICENSE $$dir; \
6869
for file in `find $$dir -type f`; \
6970
do \
7071
CMD=`echo $$FCMD $$file`; \

internal/vendored/go-tools/LICENSE

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
Copyright (c) 2009 The Go Authors. All rights reserved.
2+
3+
Redistribution and use in source and binary forms, with or without
4+
modification, are permitted provided that the following conditions are
5+
met:
6+
7+
* Redistributions of source code must retain the above copyright
8+
notice, this list of conditions and the following disclaimer.
9+
* Redistributions in binary form must reproduce the above
10+
copyright notice, this list of conditions and the following disclaimer
11+
in the documentation and/or other materials provided with the
12+
distribution.
13+
* Neither the name of Google Inc. nor the names of its
14+
contributors may be used to endorse or promote products derived from
15+
this software without specific prior written permission.
16+
17+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
18+
"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
19+
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
20+
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
21+
OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22+
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23+
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
24+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
25+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
27+
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

langserver/server.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,12 @@
1212
// limitations under the License.
1313

1414
// This File includes code from the go/tools project which is governed by the following license:
15+
//
1516
// Copyright 2019 The Go Authors. All rights reserved.
1617
// Use of this source code is governed by a BSD-style
1718
// license that can be found in the LICENSE file.
19+
//
20+
// The full license of the golang/tools project can be found in internal/vendored/go-tools/LICENSE .
1821

1922
package langserver
2023

0 commit comments

Comments
 (0)