Skip to content

Commit adb8c98

Browse files
authored
Merge pull request #198 from celskeggs/master
Add support for fpp file extension
2 parents 0a5f8b4 + aeb1aff commit adb8c98

3 files changed

Lines changed: 21 additions & 0 deletions

File tree

main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -325,6 +325,7 @@ func licenseHeader(path string, tmpl *template.Template, data licenseData) ([]by
325325
".bzl", ".bazel", "build", ".build",
326326
".dockerfile", "dockerfile",
327327
".ex", ".exs",
328+
".fpp",
328329
".graphql",
329330
".jl",
330331
".nix",

testdata/expected/file.fpp

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Copyright 2018 Google LLC
2+
#
3+
# Licensed under the Apache License, Version 2.0 (the "License");
4+
# you may not use this file except in compliance with the License.
5+
# You may obtain a copy of the License at
6+
#
7+
# http://www.apache.org/licenses/LICENSE-2.0
8+
#
9+
# Unless required by applicable law or agreed to in writing, software
10+
# distributed under the License is distributed on an "AS IS" BASIS,
11+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
# See the License for the specific language governing permissions and
13+
# limitations under the License.
14+
15+
module Example {
16+
constant Message = "Hello World"
17+
}

testdata/initial/file.fpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module Example {
2+
constant Message = "Hello World"
3+
}

0 commit comments

Comments
 (0)