Tool to check whether you are ready.
$ git clone repository/which/has/.readyrc/file.git
$ cd $(basename -s .git !:2)
$ ready
Command: dep ... OK
Command: migrate ... OKgit clone git@github.com:utisam/ready.git
cd ready
sudo ./install.shWrite .readyrc in your repository.
check_command "dep"
check_command "migrate".readyrc file is a bash script.
In this file, some special functions are avaiable.
check_command- Check whether the command exists.
- Example:
check_command "dep"
check_eval- Check the result of
eval. - Example:
check_eval '[[ "$(git config url.git@github.com:.insteadOf)" = "https://github.com/" ]]'
- Check the result of
check_npm_package- Check whether the npm package is installed.
- Example:
check_npm_package "yarn"
check_pkg_config- Check whether the npm package is installed.
- Example:
check_pkg_config "SDL2"
check_pip_package- Check whether the python egg is installed.
pip3 freezeis used in default.- When you use
pip,READY_PIP_COMMAND=pipat runtime. - Example:
check_pip_package "sphinx"
check_ruby_gem- Check whether the ruby gem is installed.
- Example:
check_ruby_gem "bundler"
check_wildcard_localhost- Check whether the
*.localhostis resolved to127.0.0.1
- Check whether the