mirror of https://github.com/kdabir/has.git
#15 docs on project specific .hasrc
This commit is contained in:
parent
33cbc13738
commit
d07a65596d
2
.hasrc
2
.hasrc
|
@ -1,4 +1,6 @@
|
||||||
|
# make to install/test the project
|
||||||
make
|
make
|
||||||
curl
|
curl
|
||||||
git
|
git
|
||||||
|
# bats for testing
|
||||||
bats
|
bats
|
||||||
|
|
|
@ -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
|
## Demo
|
||||||
|
|
||||||
[![asciicast](https://asciinema.org/a/135790.png)](https://asciinema.org/a/135790)
|
[![asciicast](https://asciinema.org/a/135790.png)](https://asciinema.org/a/135790)
|
||||||
|
|
Loading…
Reference in New Issue