Skip to content
Kyle Harrison edited this page Jul 31, 2016 · 3 revisions

Welcome to the cget wiki!

Project workflow

  1. One creates a new project, or opens an existing project
  2. Someone wants to install a dependency like LUA
  3. In a command shell, one types: cget install lua/lua
  4. cget binary contacts the registry to look for a registered package called "lua/lua"
  5. Because no version constraint is specified, it looks to get the highest registered semver number 6a. If the package and version resolves, and the package is referred to a zipped package, download that 6b. If the package and version resolves, it looks to the registered endpoint git scm repository, be it github/bitbucket/etc as long as an anonymous clone is allowed, any repository is allowed as long as the package json specifies the endpoint.
  6. The dependency is download/cloned, and resolved to a dependency "library" directory, or directory path specified in the json format
  7. If a post-script is specified in the downloaded packages json file, execute it
  8. repeat steps 6-8 for any dependencies specified in the packages json file, recursively

At the end of execution, a lua dev dependency will be available in a library directory, complimented by any specified requirements stated by the lua package.

Clone this wiki locally