Skip to content
/ ready Public

Command line tool to check whether you are ready to start development.

License

Notifications You must be signed in to change notification settings

utisam/ready

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

27 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ready

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 ... OK

Install

git clone git@github.com:utisam/ready.git
cd ready
sudo ./install.sh

Configure Your Project

Write .readyrc in your repository.

check_command "dep"
check_command "migrate"

.readyrc file is a bash script. In this file, some special functions are avaiable.

Functions

  • 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_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 freeze is used in default.
    • When you use pip, READY_PIP_COMMAND=pip at 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 *.localhost is resolved to 127.0.0.1

About

Command line tool to check whether you are ready to start development.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages