Как напечатать процесс cargo build
, а make
in brew install
?
Makefile
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 ***