Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
37 changes: 2 additions & 35 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,36 +1,3 @@
# Binaries for programs and plugins
*.exe
*.exe~
*.dll
*.so
*.dylib
bin

# Test binary, build with `go test -c`
*.test

# Output of the go coverage tool, specifically when used with LiteIDE
*.out

# Kubernetes Generated files - skip generated files, except for vendored files

!vendor/**/zz_generated.*
vendor/

# editor and IDE paraphernalia
.idea
*.swp
*.swo
*~
.vscode/
testbin/
dev/

# direnv
.direnv

# pre-commit
.pre-commit-config.yaml

tmp/
deep-docs/
example/common.mk
example/bin/
3 changes: 2 additions & 1 deletion example/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
DEV_KIT_VERSION := v1.0.0
-include common.mk
common.mk:
curl -sSL https://raw.githubusercontent.com/opendefensecloud/dev-kit/$(DEV_KIT_VERSION)/common.mk -o $@
curl --fail -sSL https://raw.githubusercontent.com/opendefensecloud/dev-kit/$(DEV_KIT_VERSION)/common.mk -o common.mk.download && \
mv common.mk.download $@

# Add you own custom make targets
my-target:
Expand Down
3 changes: 3 additions & 0 deletions example/flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,19 @@

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
flake-utils.url = "github:numtide/flake-utils";

go-overlay = {
url = "github:purpleclay/go-overlay";
inputs.nixpkgs.follows = "nixpkgs";
inputs.flake-utils.follows = "flake-utils";
};

dev-kit = {
url = "github:opendefensecloud/dev-kit";
inputs.nixpkgs.follows = "nixpkgs";
inputs.go-overlay.follows = "go-overlay";
inputs.flake-utils.follows = "flake-utils";
};
};

Expand Down
6 changes: 3 additions & 3 deletions example/renovate.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
"tools.lock"
],
"matchStrings": [
"(?<depName>[^\\s]+) (?<currentValue>[^@]+@v?[^\\s]+)"
"(?<depName>[^\\s]+) (?<packageName>[^@]+)@(?<currentValue>v?[^\\s]+)"
],
"depNameTemplate": "go",
"versioningTemplate": "semver"
"versioningTemplate": "semver",
"datasourceTemplate": "go"
}
],
"ignorePaths": []
Expand Down
2 changes: 1 addition & 1 deletion flake.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
description = "odc development environment";
description = "dev-kit";

inputs = {
nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
Expand Down