diff options
author | Anthony Fok <foka@debian.org> | 2015-12-10 15:19:38 -0700 |
---|---|---|
committer | Anthony Fok <foka@debian.org> | 2015-12-10 15:19:38 -0700 |
commit | 8509727fe862d06b3371651454fcb1af54b4ab21 (patch) | |
tree | 4220aab1df048bf490000d61a991dbf088ffb823 | |
parent | e29ede70556c2b5207032d30351f3b53a298ca0c (diff) |
Add copyright header to that source files that don’t have one.
See #1646
73 files changed, 949 insertions, 0 deletions
diff --git a/commands/gen.go b/commands/gen.go index 86bc4918a..62a84b0d0 100644 --- a/commands/gen.go +++ b/commands/gen.go @@ -1,3 +1,16 @@ +// Copyright 2015 The Hugo Authors. 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. +// 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 commands import ( diff --git a/commands/genautocomplete.go b/commands/genautocomplete.go index 54dd7563b..c4e89dd96 100644 --- a/commands/genautocomplete.go +++ b/commands/genautocomplete.go @@ -1,3 +1,16 @@ +// Copyright 2015 The Hugo Authors. 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. +// 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 commands import ( diff --git a/commands/gendoc.go b/commands/gendoc.go index 44d09fb50..563208312 100644 --- a/commands/gendoc.go +++ b/commands/gendoc.go @@ -1,3 +1,16 @@ +// Copyright 2015 The Hugo Authors. 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. +// 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 commands import ( diff --git a/commands/genman.go b/commands/genman.go index a842b49b8..ab2616aa2 100644 --- a/commands/genman.go +++ b/commands/genman.go @@ -1,3 +1,16 @@ +// Copyright 2015 The Hugo Authors. 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. +// 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 commands import ( diff --git a/commands/limit_darwin.go b/commands/limit_darwin.go index e98f10b37..7dc8b7638 100644 --- a/commands/limit_darwin.go +++ b/commands/limit_darwin.go @@ -1,3 +1,16 @@ +// Copyright 2015 The Hugo Authors. 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. +// 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. + // +build darwin // Copyright 2015 The Hugo Authors. All rights reserved. // diff --git a/commands/limit_others.go b/commands/limit_others.go index 9772a246f..c757f174e 100644 --- a/commands/limit_others.go +++ b/commands/limit_others.go @@ -1,3 +1,16 @@ +// Copyright 2015 The Hugo Authors. 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. +// 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. + // +build !darwin // Copyright 2015 The Hugo Authors. All rights reserved. // diff --git a/commands/new_test.go b/commands/new_test.go index ceed82626..e74e9cfcc 100644 --- a/commands/new_test.go +++ b/commands/new_test.go @@ -1,3 +1,16 @@ +// Copyright 2015 The Hugo Authors. 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. +// 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 commands import ( diff --git a/commands/server_test.go b/commands/server_test.go index 7d3c62c13..55d687bcc 100644 --- a/commands/server_test.go +++ b/commands/server_test.go @@ -1,3 +1,16 @@ +// Copyright 2015 The Hugo Authors. 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. +// 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 commands import ( diff --git a/commands/undraft_test.go b/commands/undraft_test.go index e0a654f3a..45b785bb0 100644 --- a/commands/undraft_test.go +++ b/commands/undraft_test.go @@ -1,3 +1,16 @@ +// Copyright 2015 The Hugo Authors. 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. +// 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 commands // TODO Support Mac Encoding (\r) diff --git a/helpers/content_renderer.go b/helpers/content_renderer.go index f7023f8d3..00997900d 100644 --- a/helpers/content_renderer.go +++ b/helpers/content_renderer.go @@ -1,3 +1,16 @@ +// Copyright 2015 The Hugo Authors. 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. +// 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 helpers import ( diff --git a/helpers/content_renderer_test.go b/helpers/content_renderer_test.go index 1c84818a2..09ddf8e60 100644 --- a/helpers/content_renderer_test.go +++ b/helpers/content_renderer_test.go @@ -1,3 +1,16 @@ +// Copyright 2015 The Hugo Authors. 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. +// 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 helpers import ( diff --git a/helpers/content_test.go b/helpers/content_test.go index f0d76b6ce..dfab5f980 100644 --- a/helpers/content_test.go +++ b/helpers/content_test.go @@ -1,3 +1,16 @@ +// Copyright 2015 The Hugo Authors. 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. +// 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 helpers import ( diff --git a/helpers/general_test.go b/helpers/general_test.go index 4d85a1299..83e532dbf 100644 --- a/helpers/general_test.go +++ b/helpers/general_test.go @@ -1,3 +1,16 @@ +// Copyright 2015 The Hugo Authors. 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. +// 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 helpers import ( diff --git a/helpers/hugo_test.go b/helpers/hugo_test.go index 90b63d403..a0012acdf 100644 --- a/helpers/hugo_test.go +++ b/helpers/hugo_test.go @@ -1,3 +1,16 @@ +// Copyright 2015 The Hugo Authors. 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. +// 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 helpers import ( diff --git a/helpers/path_test.go b/helpers/path_test.go index 6a3d58053..7718730c6 100644 --- a/helpers/path_test.go +++ b/helpers/path_test.go @@ -1,3 +1,16 @@ +// Copyright 2015 The Hugo Authors. 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. +// 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 helpers import ( diff --git a/helpers/pygments_test.go b/helpers/pygments_ |