Skip to content

Commit

Permalink
pkg/licenses: add license generation code.
Browse files Browse the repository at this point in the history
Autogenerates licenses.go file to append all license files from
the 'vendor' directory. Resolves #11
  • Loading branch information
aaithal committed Aug 30, 2017
1 parent f6f88b4 commit 8d67c41
Show file tree
Hide file tree
Showing 4 changed files with 2,533 additions and 1 deletion.
2 changes: 1 addition & 1 deletion LICENSE
@@ -1,4 +1,4 @@
Apache License
Apache License
Version 2.0, January 2004
http://www.apache.org/licenses/

Expand Down
16 changes: 16 additions & 0 deletions pkg/licenses/generate.go
@@ -0,0 +1,16 @@
// Copyright 2017 Amazon.com, Inc. or its affiliates. All Rights Reserved.
//
// Licensed under the Apache License, Version 2.0 (the "License"). You may
// not use this file except in compliance with the License. A copy of the
// License is located at
//
// http://aws.amazon.com/apache2.0/
//
// or in the "license" file accompanying this file. This file is distributed
// on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either
// express or implied. See the License for the specific language governing
// permissions and limitations under the License.

package licenses

//go:generate ../../scripts/licenses.sh license.go

0 comments on commit 8d67c41

Please sign in to comment.