prizos / marathon-pkg

Packaging utilities for Marathon.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

marathon-pkg

Packaging utilities for Marathon.

Set Up

  • Install Ruby packages.
apt-get install ruby ruby-dev			## On Debian/Ubuntu
yum install ruby ruby-devel				## On RedHat/CentOS/Fedora
  • Install FPM.
gem install fpm
  • Install packaging tools particular to your platform.
apt-get install build-essential rpm		## On Debian/Ubuntu
yum install rpm-build                   ## On RedHat/CentOS/Fedora
  • Install SBT and an appropriate JDK to build Marathon.

Building Packages

  • If this is a fresh clone of the repo:
git submodule init
git submodule update
  • (Optional) Checkout the branch of Marathon you'd like to build in the marathon directory (maintained as a submodule).

    cd marathon
    git checkout <TAGNAME>

(To commit this, cd back to the root directory and git add marathon. This will update the submodule pointer to that commit.)

  • Call the make target appropriate to your platform. Find additional targets in the Makefile.
make all                                ## Build all packages
make deb                                ## For all Debian/Ubuntu DEB packages
make rpm                                ## For all EL/Fedora RPM packages
make el                                 ## For all Enterprise Linux (EL) packages
make fedora                             ## For all Fedora (FC) packages
make debian                             ## For all Debian packages
make ubuntu                             ## For all Ubuntu packages
make osx                                ## For Apple Macintosh

About

Packaging utilities for Marathon.

License:Apache License 2.0


Languages

Language:Makefile 80.7%Language:Shell 19.3%