在cargo build
中make
时如何打印 brew install
的过程?
CARGO=RUSTFLAGS='-F warnings' cargo
...
release:
$(CARGO) build --all --release
...
def install
# system command
system "make release"
# copy files
libexec.install Dir["*"]
# exec links
bin.install_symlink "#{libexec}/target/install/bin"
end
...
==> make release
# *** need outputs here ***