├── .editorconfig ├── .gitattributes ├── .github └── workflows │ └── main.yml ├── .gitignore ├── .hasrc ├── .restyled.yaml ├── CONTRIBUTING.md ├── LICENSE ├── Makefile ├── README.md ├── demo.svg ├── has └── tests ├── intg └── intg-tests.bats ├── to-fix ├── containers │ ├── README.md │ ├── alpine.Dockerfile │ ├── debian.Dockerfile │ ├── ubuntu.Dockerfile │ └── ubuntu16.Dockerfile ├── packages_all.sh ├── packages_alpine_skip.txt ├── packages_ubuntu_skip.txt ├── test_all_packages.bats └── test_package.bats └── unit ├── mocks ├── bash ├── composer ├── git ├── go ├── java ├── jq ├── make └── unzip ├── unit-tests.bats └── with-mocks.bats /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/main.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/.github/workflows/main.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | *~ 2 | .DS_Store 3 | .idea 4 | tmp-for-test/ 5 | -------------------------------------------------------------------------------- /.hasrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/.hasrc -------------------------------------------------------------------------------- /.restyled.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/.restyled.yaml -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/README.md -------------------------------------------------------------------------------- /demo.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/demo.svg -------------------------------------------------------------------------------- /has: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/has -------------------------------------------------------------------------------- /tests/intg/intg-tests.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/tests/intg/intg-tests.bats -------------------------------------------------------------------------------- /tests/to-fix/containers/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/tests/to-fix/containers/README.md -------------------------------------------------------------------------------- /tests/to-fix/containers/alpine.Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/tests/to-fix/containers/alpine.Dockerfile -------------------------------------------------------------------------------- /tests/to-fix/containers/debian.Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/tests/to-fix/containers/debian.Dockerfile -------------------------------------------------------------------------------- /tests/to-fix/containers/ubuntu.Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/tests/to-fix/containers/ubuntu.Dockerfile -------------------------------------------------------------------------------- /tests/to-fix/containers/ubuntu16.Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/tests/to-fix/containers/ubuntu16.Dockerfile -------------------------------------------------------------------------------- /tests/to-fix/packages_all.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/tests/to-fix/packages_all.sh -------------------------------------------------------------------------------- /tests/to-fix/packages_alpine_skip.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/tests/to-fix/packages_alpine_skip.txt -------------------------------------------------------------------------------- /tests/to-fix/packages_ubuntu_skip.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/tests/to-fix/packages_ubuntu_skip.txt -------------------------------------------------------------------------------- /tests/to-fix/test_all_packages.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/tests/to-fix/test_all_packages.bats -------------------------------------------------------------------------------- /tests/to-fix/test_package.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/tests/to-fix/test_package.bats -------------------------------------------------------------------------------- /tests/unit/mocks/bash: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/tests/unit/mocks/bash -------------------------------------------------------------------------------- /tests/unit/mocks/composer: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/tests/unit/mocks/composer -------------------------------------------------------------------------------- /tests/unit/mocks/git: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/tests/unit/mocks/git -------------------------------------------------------------------------------- /tests/unit/mocks/go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/tests/unit/mocks/go -------------------------------------------------------------------------------- /tests/unit/mocks/java: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/tests/unit/mocks/java -------------------------------------------------------------------------------- /tests/unit/mocks/jq: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/tests/unit/mocks/jq -------------------------------------------------------------------------------- /tests/unit/mocks/make: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/tests/unit/mocks/make -------------------------------------------------------------------------------- /tests/unit/mocks/unzip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/tests/unit/mocks/unzip -------------------------------------------------------------------------------- /tests/unit/unit-tests.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/tests/unit/unit-tests.bats -------------------------------------------------------------------------------- /tests/unit/with-mocks.bats: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/kdabir/has/HEAD/tests/unit/with-mocks.bats --------------------------------------------------------------------------------