Skip to content

Commit a173b17

Browse files
committed
adding binary
building from source can be done by removing build/rustfmt
1 parent 082fcff commit a173b17

File tree

3 files changed

+11
-8
lines changed

3 files changed

+11
-8
lines changed

Makefile

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
IMAGE_NAME=codeclimate/codeclimate-rustfmt
2+
3+
4+
img:build/rustfmt
5+
docker build -t "${IMAGE_NAME}" .
6+
7+
8+
build/rustfmt:
9+
mkdir -p build
10+
docker build --tag ${IMAGE_NAME}-build --file Build.dockerfile .
11+
docker run --rm --volume "${PWD}/build:/build" ${IMAGE_NAME}-build cp target/debug/rustfmt /build/

build.sh

-8
This file was deleted.

build/rustfmt

5.68 MB
Binary file not shown.

0 commit comments

Comments
 (0)