Move
This commit is contained in:
4
makefile
4
makefile
@ -23,10 +23,10 @@ push: $(BUILD)/$(BIN_NAME)
|
||||
$(BUILD)/$(BIN_NAME):
|
||||
@mkdir -p $(BUILD)
|
||||
docker run --rm \
|
||||
-v $(PWD):/project \
|
||||
-v $(PWD)/server:/project \
|
||||
-v "/project/.cargo" \
|
||||
-w "/project" \
|
||||
ghcr.io/toltec-dev/rust:latest \
|
||||
cargo build --release --target=armv7-unknown-linux-gnueabihf
|
||||
|
||||
cp "target/armv7-unknown-linux-gnueabihf/release/restream" "./build/$(BIN_NAME)"
|
||||
cp "server/target/armv7-unknown-linux-gnueabihf/release/restream" "./build/$(BIN_NAME)"
|
Reference in New Issue
Block a user