Skip to content

Commit

Permalink
Merge pull request #19 from veraison/cowbon-patch-2
Browse files Browse the repository at this point in the history
Add initial external request handling to ratsd
  • Loading branch information
cowbon authored Jan 16, 2025
2 parents c0175fe + 3335776 commit 4954900
Show file tree
Hide file tree
Showing 17 changed files with 1,602 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: '1.20'
go-version: '1.22'

- name: Build
run: go build -v ./...
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
*.dll
*.so
*.dylib
ratsd

# Test binary, built with `go test -c`
*.test
Expand Down
28 changes: 28 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# Copyright 2025 Contributors to the Veraison project.
# SPDX-License-Identifier: Apache-2.0

.DEFAULT_TARGET: all
BIN := ratsd

.PHONY: all
all: generate build

.PHONY: gen-certs
gen-certs:
./gen-certs create

.PHONY: generate
generate:
go generate ./api

.PHONY: build
build:
go build -o $(BIN) -buildmode=pie ./cmd

.PHONY: clean
clean:
rm -f $(BIN)

.PHONY: clean-certs
clean-certs:
./gen-certs clean
Loading

0 comments on commit 4954900

Please sign in to comment.