Skip to content

Commit 3159bf5

Browse files
committed
Merge branch 'master' of github.com:dipdup-io/indexer-sdk
2 parents a06f346 + 2225856 commit 3159bf5

File tree

4 files changed

+16
-1
lines changed

4 files changed

+16
-1
lines changed

.gitattributes

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
go.sum merge=union
2+
**/mock/* linguist-generated=true

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
*.dll
55
*.so
66
*.dylib
7+
.DS_Store
78

89
# Test binary, built with `go test -c`
910
*.test

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
-include .env
22
export $(shell sed 's/=.*//' .env)
33

4+
init:
5+
chmod +x init.dev.sh && ./init.dev.sh
6+
47
lint:
58
golangci-lint run
69

@@ -21,4 +24,6 @@ generate:
2124
-p github.com/dipdup-io/uniswap
2225

2326
test:
24-
go test ./...
27+
go test ./...
28+
29+
.PHONY: init lint generate test

init.dev.sh

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
#!/bin/sh
2+
3+
# VCS config
4+
git config --local core.attributesfile ./.gitattributes
5+
6+
# Install third tools
7+
#go install go.uber.org/mock/mockgen@main

0 commit comments

Comments
 (0)