From d07a65596d73b387249494a2fb2eb0c70a8ae95a Mon Sep 17 00:00:00 2001 From: Kunal Dabir Date: Fri, 16 Nov 2018 17:19:46 +0530 Subject: [PATCH] #15 docs on project specific .hasrc --- .hasrc | 2 ++ README.md | 9 +++++++++ 2 files changed, 11 insertions(+) diff --git a/.hasrc b/.hasrc index 253b802..eb2d487 100644 --- a/.hasrc +++ b/.hasrc @@ -1,4 +1,6 @@ +# make to install/test the project make curl git +# bats for testing bats diff --git a/README.md b/README.md index 5f19424..354ac21 100644 --- a/README.md +++ b/README.md @@ -106,6 +106,15 @@ $ has java ``` +*Pro Tip*: commit `.hasrc` file in root of your project. This can work as a quick check for confirming presence all command +line tools required to build and run your project. + +on machines that don't even have `has` installed, your project's `.hasrc` is honored by this command: + +`curl -sL https://git.io/_has | bash -s` + +> take a look at .hasrc file of this repo + ## Demo [![asciicast](https://asciinema.org/a/135790.png)](https://asciinema.org/a/135790)