Skip to content

Commit

Permalink
Fixing License Headers to match CI Regex
Browse files Browse the repository at this point in the history
An extra special character was breaking CI. I removed it to squelch the
message.

Also, renaming the profile `definition.go` files to `generate.go` files
as per review feedback.
  • Loading branch information
marstr committed Feb 8, 2018
1 parent 531faa8 commit 9c3ee4f
Show file tree
Hide file tree
Showing 10 changed files with 55 additions and 13 deletions.
3 changes: 0 additions & 3 deletions profiles/2017-03-09/definition.go

This file was deleted.

17 changes: 17 additions & 0 deletions profiles/2017-03-09/generate.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Copyright 2018 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License 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 v20170309

//go:generate cat ./definition.txt | go run ../../tools/profileBuilder/main.go list --name 2017-03-09
3 changes: 0 additions & 3 deletions profiles/latest/definition.go

This file was deleted.

17 changes: 17 additions & 0 deletions profiles/latest/generate.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Copyright 2018 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License 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 latest

//go:generate go run ../../tools/profileBuilder/main.go latest --name latest
3 changes: 0 additions & 3 deletions profiles/preview/definition.go

This file was deleted.

17 changes: 17 additions & 0 deletions profiles/preview/generate.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
// Copyright 2018 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License 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 preview

//go:generate go run ../../tools/profileBuilder/main.go latest --name preview --preview
2 changes: 1 addition & 1 deletion tools/profileBuilder/cmd/latest.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// +build go1.9

// Copyright © 2018 Microsoft Corporation
// Copyright 2018 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion tools/profileBuilder/cmd/list.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// +build go1.9

// Copyright © 2018 Microsoft Corporation
// Copyright 2018 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion tools/profileBuilder/cmd/root.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// +build go1.9

// Copyright © 2018 Microsoft Corporation
// Copyright 2018 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down
2 changes: 1 addition & 1 deletion tools/profileBuilder/main.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Copyright © 2018 Microsoft Corporation
// Copyright 2018 Microsoft Corporation
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
Expand Down

0 comments on commit 9c3ee4f

Please sign in to comment.