Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
drmorr0 committed Oct 18, 2023
1 parent 9029308 commit a6dea12
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,14 @@ $(GO_ARTIFACTS):
RUST_BUILD_IMAGE ?= rust:buster

$(RUST_ARTIFACTS):
mkdir .build
docker run -u `id -u`:`id -g` -w /build -v `pwd`:/build:ro -v $(BUILD_DIR):/build/.build:rw $(RUST_BUILD_IMAGE) make $@-docker

%-docker:
id
ls -la /build
ls -la /build/.build
ls -la /build/.build/cargo
$(CARGO_HOME_ENV) cargo build --target-dir=$(BUILD_DIR) --bin=$* --color=always
cp $(BUILD_DIR)/debug/$* $(BUILD_DIR)/.

Expand Down

0 comments on commit a6dea12

Please sign in to comment.