Skip to content

Commit

Permalink
Merge pull request #132 from askgitdev/feat/improve-git-tables-interf…
Browse files Browse the repository at this point in the history
…ace-stats-blame

FEAT: Improve git tables interface (table valued functions)
  • Loading branch information
patrickdevivo authored Jul 20, 2021
2 parents 2359c9a + d7eeeb8 commit 12ce73b
Show file tree
Hide file tree
Showing 80 changed files with 2,872 additions and 3,990 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ RUN ./install_libgit2.sh
COPY go.mod go.sum ./
RUN go mod download
COPY . .
RUN make build
RUN make

FROM debian:buster-slim
WORKDIR /app/
RUN mkdir /repo
COPY --from=builder /app/askgit .
COPY --from=builder /app/.build/askgit .

RUN apt-get update && apt-get install -y git

Expand Down
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
.PHONY: clean vet test lint lint-ci test-cover bench
.PHONY: clean update vet test lint lint-ci test-cover bench

# default task invoked while running make
all: clean .build/libaskgit.so .build/askgit
Expand Down Expand Up @@ -45,6 +45,9 @@ clean:
# go build tags used by test, vet and more
TAGS = "sqlite_vtable,vtable,sqlite_json1,static,system_libgit2"

update:
go get -tags=$(TAGS) -u ./...

vet:
go vet -v -tags=$(TAGS) ./...

Expand Down
Loading

0 comments on commit 12ce73b

Please sign in to comment.