#15 docs on project specific .hasrc

This commit is contained in:
Kunal Dabir 2018-11-16 17:19:46 +05:30
parent 33cbc13738
commit d07a65596d
2 changed files with 11 additions and 0 deletions

2
.hasrc
View File

@ -1,4 +1,6 @@
# make to install/test the project
make
curl
git
# bats for testing
bats

View File

@ -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)