diff --git a/.gitignore b/.gitignore index d06a9343..06d05d53 100644 --- a/.gitignore +++ b/.gitignore @@ -1,26 +1,28 @@ +# Binaries /bin -/vendor -/test_results -/artifacts -/releases /out +.artifacts .build* + +# Test Results +/test_results + +# Temporary Files .tmp *.swp *.log *.out -# Test binary, built with `go test -c` +# Test Binaries *.test -# Ignore binaries built using go build either from the root of the repo or -# within the respective main packages. +# Ignore Binaries Built with go build /harvester /server cmd/harvester/harvester cmd/server/server -# Editor specific configuration +# Editor Specific Configurations .idea .vscode @@ -29,10 +31,13 @@ cmd/server/server .DS_Store .AppleDouble .LSOverride + # Thumbnails ._* ### Linux ### +# Temporary Files *~ -# Linux trash folder which might appear on any partition or disk + +# Linux Trash Folder .Trash-* diff --git a/Makefile b/Makefile index 7acfc17a..33ea3e50 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,3 @@ --include Makefile-poc.mk - DIR := $(CURDIR) .DEFAULT_GOAL = help diff --git a/Makefile-poc.mk b/Makefile-poc.mk deleted file mode 100644 index 82241476..00000000 --- a/Makefile-poc.mk +++ /dev/null @@ -1,25 +0,0 @@ -## Temporary targets to test sync APIs -create-relationship: - ./bin/galadriel-server create member -t td1 - ./bin/galadriel-server create member -t td2 - ./bin/galadriel-server create relationship -a td1 -b td2 - -.PHONY: create-relationship - -run-harvester: create-relationship - token=`./bin/galadriel-server generate token -t td2 | grep -Po "(?<=Access Token:\s).*"`; \ - ./bin/galadriel-harvester run -t $$token - -test-sync: - token=`./bin/galadriel-server generate token -t td1 | grep -Po "(?<=Access Token:\s).*"`; \ - curl 127.0.0.1:8085/bundle/sync \ - -X "POST" \ - -H "Authorization: Bearer $$token" \ - -d "@dev/request_data/bundle_sync.json" | jq - -test-post: - token=`./bin/galadriel-server generate token -t td2 | grep -Po "(?<=Access Token:\s).*"`; \ - curl 127.0.0.1:8085/bundle \ - -X "POST" \ - -H "Authorization: Bearer $$token" \ - -d "@dev/request_data/bundle_post.json"