hhpack / typesafety
Type checking for CI
Installs: 74
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 1
Forks: 0
Open Issues: 1
Language:Hack
Requires
- hhvm: >=3.12.0
- hhpack/color: ^1.0
- hhpack/getopt: ~0.7
- hhpack/package: ^1.0
- hhpack/publisher: ^1.0
- hhpack/typechecker-client: ^1.0
Requires (Dev)
README
Basic usage
You only need to specify the directory where you want to check the type.
vendor/bin/typesafety [RootDirectory]
composer.json
By adding a set to composer.json, it will be able to easily run.
{ "scripts": { "check": "vendor/bin/typesafety" } }
You can run the typecheck with the following command.
composer check
Run the test
You can run the test with the following command.
composer install
composer test