Commit b1d68b6e9bd837b3b685b76ceca1b6a44cf2dc17
1 parent
81ecd119
Exists in
spb-stable
and in
2 other branches
Add .pkgr.yml file for automated packaging on https://pkgr.io
Showing
2 changed files
with
35 additions
and
0 deletions
Show diff stats
... | ... | @@ -0,0 +1,19 @@ |
1 | +user: git | |
2 | +group: git | |
3 | +before_precompile: ./bin/pkgr_before_precompile.sh | |
4 | +targets: | |
5 | + debian-7: &wheezy | |
6 | + build_dependencies: | |
7 | + - libicu-dev | |
8 | + dependencies: | |
9 | + - libicu48 | |
10 | + - libpcre3 | |
11 | + - git | |
12 | + ubuntu-12.04: *wheezy | |
13 | + ubuntu-14.04: | |
14 | + build_dependencies: | |
15 | + - libicu-dev | |
16 | + dependencies: | |
17 | + - libicu52 | |
18 | + - libpcre3 | |
19 | + - git | ... | ... |
... | ... | @@ -0,0 +1,16 @@ |
1 | +#!/bin/sh | |
2 | + | |
3 | +set -ex | |
4 | + | |
5 | +for file in config/*.yml.example; do | |
6 | + cp ${file} config/$(basename ${file} .example) | |
7 | +done | |
8 | + | |
9 | +# No need for config file. Will be taken care of by REDIS_URL env variable | |
10 | +rm config/resque.yml | |
11 | + | |
12 | +# Set default unicorn.rb file | |
13 | +echo "" > config/unicorn.rb | |
14 | + | |
15 | +# Required for assets precompilation | |
16 | +sudo service postgresql start | ... | ... |