Skip to content

Commit

Permalink
chore: add required copyright headers
Browse files Browse the repository at this point in the history
Signed-off-by: hashicorp-copywrite[bot] <110428419+hashicorp-copywrite[bot]@users.noreply.github.com>
  • Loading branch information
hashicorp-copywrite[bot] authored and mutahhir committed Jul 14, 2023
1 parent 6babff7 commit 16a99e0
Show file tree
Hide file tree
Showing 16 changed files with 62 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/@cdktf/cli-core/templates/csharp/MainStack.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

using System;
using Constructs;
using HashiCorp.Cdktf;
Expand Down
3 changes: 3 additions & 0 deletions packages/@cdktf/cli-core/templates/csharp/Program.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

using System;
using Constructs;
using HashiCorp.Cdktf;
Expand Down
3 changes: 3 additions & 0 deletions packages/@cdktf/cli-core/templates/csharp/TestProgram.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

using Xunit;
using HashiCorp.Cdktf;
using System;
Expand Down
3 changes: 3 additions & 0 deletions packages/@cdktf/cli-core/templates/go/main.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package main

import (
Expand Down
3 changes: 3 additions & 0 deletions packages/@cdktf/cli-core/templates/go/main_test.go
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
// Copyright (c) HashiCorp, Inc.
// SPDX-License-Identifier: MPL-2.0

package main

import (
Expand Down
5 changes: 5 additions & 0 deletions packages/@cdktf/cli-core/templates/java/pom.xml
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
<!--
Copyright (c) HashiCorp, Inc.
SPDX-License-Identifier: MPL-2.0
-->

<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

package com.mycompany.app;

import software.constructs.Construct;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

package com.mycompany.app;

import software.constructs.Construct;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/*
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

import com.hashicorp.cdktf.Testing;
import org.junit.jupiter.api.Test;
import static org.junit.jupiter.api.Assertions.assertTrue;
Expand Down
3 changes: 3 additions & 0 deletions packages/@cdktf/cli-core/templates/python-pip/main-test.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

import pytest
from cdktf import Testing, TerraformStack

Expand Down
3 changes: 3 additions & 0 deletions packages/@cdktf/cli-core/templates/python-pip/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env python
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

from constructs import Construct
from cdktf import App, TerraformStack

Expand Down
3 changes: 3 additions & 0 deletions packages/@cdktf/cli-core/templates/python/main-test.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

import pytest
from cdktf import Testing

Expand Down
3 changes: 3 additions & 0 deletions packages/@cdktf/cli-core/templates/python/main.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#!/usr/bin/env python
# Copyright (c) HashiCorp, Inc.
# SPDX-License-Identifier: MPL-2.0

from constructs import Construct
from cdktf import App, TerraformStack

Expand Down
5 changes: 5 additions & 0 deletions packages/@cdktf/cli-core/templates/typescript/jest.config.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

/** @type {import('ts-jest/dist/types').InitialOptionsTsJest} */
/*
* For a detailed explanation regarding each configuration property, visit:
Expand Down
5 changes: 5 additions & 0 deletions packages/@cdktf/cli-core/templates/typescript/main.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

import { Construct } from "constructs";
import { App, TerraformStack } from "cdktf";

Expand Down
5 changes: 5 additions & 0 deletions packages/@cdktf/cli-core/templates/typescript/setup.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,7 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: MPL-2.0
*/

const cdktf = require("cdktf");
cdktf.Testing.setupJest();

0 comments on commit 16a99e0

Please sign in to comment.