11 Matching Annotations
  1. May 2021
    1. It's Faster

      Makefile is also faster than package.json script

    2. It's even more discoverable if your shell has smart tab completion: for example, on my current project, if you enter the aws/ directory and type make<TAB>, you'll see a list that includes things like docker-login, deploy-dev and destroy-sandbox.

      If your shell has smart TAB completion, you can easily discover relevant make commands

    3. Variables. Multiple lines. No more escaped quotation marks. Comments.

      What are Makefile's advantages over package.json scripts

  2. Oct 2020
  3. Apr 2016
    1. @echo My HOME path has $(words $(CURRENT_PATH)) directories.

      可以用这种方式打印输出一些内容

    2. The problem is that the space before the.oargument ispart of the replacement text and was inserted into the output string. The spacebefore the.cis fine because all whitespace before the first argument is strippedoff bymake.

      一定要注意space的问题