{make}

时间:2019-03-16 20:42:36

标签: makefile homebrew formula

cargo buildmake时如何打印 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 ***

0 个答案:

没有答案