Skip to content

Commit

Permalink
fix: Move Go module to another repo (#274)
Browse files Browse the repository at this point in the history
  • Loading branch information
lym953 authored Aug 9, 2024
1 parent 71f5f4e commit fa63451
Show file tree
Hide file tree
Showing 23 changed files with 3 additions and 1,428 deletions.
3 changes: 1 addition & 2 deletions .gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 1 addition & 8 deletions .projenrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const project = new awscdk.AwsCdkConstructLibrary({
module: "datadog_cdk_constructs_v2",
},
publishToGo: {
moduleName: "github.com/DataDog/datadog-cdk-constructs/dist/go",
moduleName: "github.com/DataDog/datadog-cdk-constructs-go",
packageName: "ddcdkconstruct",
},
peerDeps: [],
Expand Down Expand Up @@ -109,13 +109,6 @@ eslintConfig.addOverride("rules", {

project.addGitIgnore("!integration_tests/tsconfig.json");

// Remove the auto-added "dist" folder
project.gitignore.removePatterns("/dist/");
// The two lines below makes git track "dist/go" and ignore all other folders
// under "dist/"
project.gitignore.addPatterns("dist/*");
project.gitignore.include("!dist/go");

// Collapse the generated Go package on GitHub
project.gitattributes.addAttributes("/dist/go/** linguist-generated");

Expand Down
202 changes: 0 additions & 202 deletions dist/go/ddcdkconstruct/Datadog.go

This file was deleted.

45 changes: 0 additions & 45 deletions dist/go/ddcdkconstruct/DatadogProps.go

This file was deleted.

31 changes: 0 additions & 31 deletions dist/go/ddcdkconstruct/DatadogStrictProps.go

This file was deleted.

Loading

0 comments on commit fa63451

Please sign in to comment.