summaryrefslogtreecommitdiff
path: root/cmd/hcldec
diff options
context:
space:
mode:
authorhashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>2023-02-28 10:30:09 +0100
committerGitHub <noreply@github.com>2023-02-28 10:30:09 +0100
commit4679383728fe331fc8a6b46036a27b8f818d9bc0 (patch)
treedfed34e85cce6af3a6e01869d3f439c525e213e4 /cmd/hcldec
parenta514df9c5e5a496ea3cfe6c41a4304b2398f6bb7 (diff)
[COMPLIANCE] Add Copyright and License Headers (#586)
* [COMPLIANCE] Add Copyright and License Headers * add copywrite file and revert headers in testdata --------- Co-authored-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com> Co-authored-by: Liam Cervante <liam.cervante@hashicorp.com>
Diffstat (limited to 'cmd/hcldec')
-rw-r--r--cmd/hcldec/diags_json.go3
-rwxr-xr-xcmd/hcldec/examples/sh-config-file/example.sh3
-rw-r--r--cmd/hcldec/main.go3
-rw-r--r--cmd/hcldec/spec.go3
-rw-r--r--cmd/hcldec/spec_funcs.go3
-rw-r--r--cmd/hcldec/type_expr.go3
-rw-r--r--cmd/hcldec/vars.go3
7 files changed, 21 insertions, 0 deletions
diff --git a/cmd/hcldec/diags_json.go b/cmd/hcldec/diags_json.go
index f0b4a40..f5939b9 100644
--- a/cmd/hcldec/diags_json.go
+++ b/cmd/hcldec/diags_json.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package main
import (
diff --git a/cmd/hcldec/examples/sh-config-file/example.sh b/cmd/hcldec/examples/sh-config-file/example.sh
index 95a0080..4544c26 100755
--- a/cmd/hcldec/examples/sh-config-file/example.sh
+++ b/cmd/hcldec/examples/sh-config-file/example.sh
@@ -1,4 +1,7 @@
#!/bin/bash
+# Copyright (c) HashiCorp, Inc.
+# SPDX-License-Identifier: MPL-2.0
+
set -euo pipefail
diff --git a/cmd/hcldec/main.go b/cmd/hcldec/main.go
index 5be672d..1ddc800 100644
--- a/cmd/hcldec/main.go
+++ b/cmd/hcldec/main.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package main
import (
diff --git a/cmd/hcldec/spec.go b/cmd/hcldec/spec.go
index b592cf9..a011d1c 100644
--- a/cmd/hcldec/spec.go
+++ b/cmd/hcldec/spec.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package main
import (
diff --git a/cmd/hcldec/spec_funcs.go b/cmd/hcldec/spec_funcs.go
index 99c8ea6..f7bdaf0 100644
--- a/cmd/hcldec/spec_funcs.go
+++ b/cmd/hcldec/spec_funcs.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package main
import (
diff --git a/cmd/hcldec/type_expr.go b/cmd/hcldec/type_expr.go
index 3e36420..ed838d7 100644
--- a/cmd/hcldec/type_expr.go
+++ b/cmd/hcldec/type_expr.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package main
import (
diff --git a/cmd/hcldec/vars.go b/cmd/hcldec/vars.go
index d3971cb..cf70136 100644
--- a/cmd/hcldec/vars.go
+++ b/cmd/hcldec/vars.go
@@ -1,3 +1,6 @@
+// Copyright (c) HashiCorp, Inc.
+// SPDX-License-Identifier: MPL-2.0
+
package main
import (