Smartling / smartling-cli

Smartling-cli is a library and CLI tool for managing Smartling projects. See the project's Wiki for user documentation.
https://github.com/Smartling/smartling-cli/wiki
MIT License
16 stars 12 forks source link

Add script to add CLI into packages for Debian, RPM, Brew #21

Open dimitrystd opened 7 years ago

dimitrystd commented 7 years ago

We would like to distribute CLI with package management. So we need a script which will prepare packages for Debian, RPM, Brew.

DoD:

seletskiy commented 7 years ago

@dimitrystd: debian and rpm packages can be built via make deb rpm.

To add package into Brew, homebrew-core (https://github.com/Homebrew/homebrew-core) should be forked and pull-request is created according to guidelines (https://github.com/Homebrew/brew/blob/master/docs/Formula-Cookbook.md). Not a piece of a cake.

dimitrystd commented 7 years ago

I added build step, so now we have

$ ls -l pkg/
total 4176
-rw-r--r-- 1 root root 1983992 Jun 29 13:37 smartling-141.a50b26a-1.el7.centos.x86_64.rpm
-rw-r--r-- 1 root root 2287142 Jun 29 13:37 smartling-141.a50b26a_all.deb

What's the next? Let's talk tomorrow.

dlyash commented 7 years ago

I'll take a look at Homebrew

dlyash commented 7 years ago

I created a pull request to preview formula on our end before submitting it to the Homebrew repository - https://github.com/Smartling/homebrew-core/pull/1

It's not final yet as we expect to change package name format