Skip to content

aisk/lean-cli

 
 

Repository files navigation

lean(1)

Build Status GoDoc

Command-line tool to develop and manage LeanCloud apps.

Install

  • via go get: $ go get github.com/leancloud/lean-cli/lean
  • via homebrew: $ brew install lean-cli
  • via https://releases.leanapp.cn/#/leancloud/lean-cli/releases(In case of your connection with GitHub cracked)

Develop

Install the dependences first:

Clone this repo to your ${GOPATH}/src/github.com/leancloud/lean-cli, then have a look at Makefile.

Ensure all codes is formated by gofmt. Commit message should write in gitmoji.

Packaging

Install this dependences:

You can install them via homebrew

and

$ make all

Release

Tag the current commit with version name, and create a release with this tag. run $ make all and attach the build result (under ./_build folder) to the release.

The homebrew guys will update the home brew formula. If not, or we are in a hurry, just make a pull request to them.

Update the pack-scaffold repo to update the latest release version (after homebrew formula has been updated). CLI will check update from here.

About

LeanEngine Command Line Tool

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Go 91.1%
  • JavaScript 4.5%
  • HTML 2.6%
  • Other 1.8%