Skip to content

Commit

Permalink
archive binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
Daulet Zhanguzin committed May 2, 2023
1 parent cdfa58d commit 82aa004
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ release-linux-%:
docker buildx build --platform linux/$* -f example/Dockerfile . -t tokenizers.linux-$*
mkdir -p release/linux-$*
docker run -v $(PWD)/release/linux-$*:/mnt --entrypoint cp tokenizers.linux-$* /workspace/libtokenizers.a /mnt/libtokenizers.a
mkdir -p release/output
tar -czf release/output/libtokenizers.linux-$*.tar.gz release/linux-$*/libtokenizers.a

test: build
@go test -v ./... -count=1
Expand Down

0 comments on commit 82aa004

Please sign in to comment.