Skip to content

Commit

Permalink
chore: inital package setup
Browse files Browse the repository at this point in the history
Signed-off-by: Leonardo Grasso <me@leonardograsso.com>
  • Loading branch information
leogr committed Apr 3, 2020
1 parent 0564952 commit 8c4d956
Show file tree
Hide file tree
Showing 4 changed files with 30 additions and 11 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
event-generator
dist/
24 changes: 24 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
SHELL=/bin/bash -o pipefail

GO ?= go

TEST_FLAGS ?= -v -race

main ?= .
output ?= event-generator

.PHONY: build
build: clean ${output}

.PHONY: ${output}
${output}:
$(GO) build -o $@ ${main}

.PHONY: clean
clean:
$(RM) -R ${output}

.PHONY: test
test:
$(GO) vet ./...
$(GO) test ${TEST_FLAGS} ./...
12 changes: 1 addition & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,2 @@

> Acts as a template for new repositories
## Workflow

1. Above the file list, click **Use this template** button.
2. Type a name for your repository, and an optional description.
3. Click **Create repository from template**.
4. Edit the README.md file.
5. Edit the OWNERS file adding/removing people for the specific project.
6. Open an issue into [test-infra](https://github.com/falcosecurity/test-infra) to notify maintainers to enable Prow on the specific project
7. DO NOT edit the LICENSE file which we'll be already in place
# event-generator
3 changes: 3 additions & 0 deletions go.mod
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module github.com/falcosecurity/event-generator

go 1.14

0 comments on commit 8c4d956

Please sign in to comment.