This repository has been archived by the owner on Dec 10, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
iss #34: deb build instructions & shell script
- Loading branch information
Showing
3 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#!/bin/bash | ||
BIN=`which sbt` | ||
SCRIPT_PATH=$(cd ${0%/*} && echo $PWD/${0##*/}) | ||
ROOT=`dirname "${SCRIPT_PATH}"` | ||
|
||
if [ -z "${BIN}" ]; then | ||
echo "sbt not found in ${PATH}" | ||
exit 1 | ||
fi | ||
|
||
cd "${ROOT}" | ||
|
||
"${BIN}" 'debian:packageBin' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# Build .deb | ||
|
||
## Prerequirements | ||
|
||
* keemun checkout (via `git clone ...` or [tarball](https://github.com/maizy/zaglushka/archive/master.tar.gz)) | ||
* sbt([deb package available](http://www.scala-sbt.org/0.13/tutorial/Installing-sbt-on-Linux.html)) | ||
* deb packages `dpkg`, `fakeroot` | ||
|
||
## How to | ||
|
||
```bash | ||
# checkout keemun | ||
cd keemun/ | ||
./build_dev.sh | ||
dpkg -i target/keemun_X.Y.Z-SNAPSHOT_all.deb | ||
``` | ||
where `X.Y.Z` - current project version | ||
|
||
## Supported OS | ||
|
||
* Ubuntu 12.04 | ||
* Build tested on clean Ubuntu Server 12.04.5 | ||
* *TODO*: Ubuntu 14.04 | ||
|
||
Other .deb based OS also may work, but not tested. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,3 +5,8 @@ | |
|
||
* [Backends API](Api.md) | ||
* [Models](Models.md) | ||
|
||
<a name="deploy"/> | ||
## Deploy | ||
|
||
* [Build .deb](BuildDeb.md) |