Skip to content

Commit

Permalink
evm clarification
Browse files Browse the repository at this point in the history
  • Loading branch information
calbera committed Aug 9, 2024
1 parent 288f6ed commit 4893f1f
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 27 deletions.
26 changes: 0 additions & 26 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,32 +1,11 @@
#!/usr/bin/make -f

########################################################
# Makefile #
########################################################

# Default target
.DEFAULT_GOAL := all
all: tidy bindings format lint test

MODULES := $(shell find . -type f -name 'go.mod' -exec dirname {} \;)

########################################################
# Setup #
########################################################

# Generate versioning information
TAG_COMMIT := $(shell git rev-list --abbrev-commit --tags --max-count=1)
TAG := $(shell git describe --abbrev=0 --tags ${TAG_COMMIT} 2>/dev/null || true)
COMMIT := $(shell git rev-parse --short HEAD)
DATE := $(shell git log -1 --format=%cd --date=format:"%Y%m%d")
VERSION := $(TAG:v%=%)
ifneq ($(COMMIT), $(TAG_COMMIT))
VERSION := $(VERSION)-next-$(COMMIT)-$(DATE)
endif
ifneq ($(shell git status --porcelain),)
VERSION := $(VERSION)-dirty
endif

########################################################
# Building #
########################################################
Expand Down Expand Up @@ -102,11 +81,6 @@ test-cover:
# Dependency #
########################################################

repo-rinse: |
git submodule foreach --recursive git clean -xfd
git submodule foreach --recursive git reset --hard
git submodule update --init --recursive

tidy: |
@for module in $(MODULES); do \
echo "Running go mod tidy in $$module"; \
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
![Lint](https://github.com/calbera/go-pyth-client/workflows/golangci-lint/badge.svg)
[![Go Report Card](https://goreportcard.com/badge/github.com/calbera/go-pyth-client)](https://goreportcard.com/report/github.com/calbera/go-pyth-client)

Go client library for interacting with Pyth [Hermes](https://hermes.pyth.network/docs/) and [Benchmarks](https://benchmarks.pyth.network/docs) APIs. For more information on Pyth Hermes, please visit Pyth's [documentation on price feeds](https://docs.pyth.network/price-feeds). For more information on Pyth Benchmarks, please visit Pyth's [documentation on benchmarks](https://docs.pyth.network/benchmarks).
Go client library for interacting with Pyth [Hermes](https://hermes.pyth.network/docs/) and [Benchmarks](https://benchmarks.pyth.network/docs) APIs in EVM based contracts. For more information on Pyth Hermes, please visit Pyth's [documentation on price feeds](https://docs.pyth.network/price-feeds). For more information on Pyth Benchmarks, please visit Pyth's [documentation on benchmarks](https://docs.pyth.network/benchmarks).

This project is still under development. For support on more endpoints and use cases, please open an issue or contribute!

Expand Down

0 comments on commit 4893f1f

Please sign in to comment.