Add .pkgr.yml file for automated packaging on https://pkgr.io
This commit is contained in:
parent
81ecd1195f
commit
b1d68b6e9b
|
@ -0,0 +1,19 @@
|
||||||
|
user: git
|
||||||
|
group: git
|
||||||
|
before_precompile: ./bin/pkgr_before_precompile.sh
|
||||||
|
targets:
|
||||||
|
debian-7: &wheezy
|
||||||
|
build_dependencies:
|
||||||
|
- libicu-dev
|
||||||
|
dependencies:
|
||||||
|
- libicu48
|
||||||
|
- libpcre3
|
||||||
|
- git
|
||||||
|
ubuntu-12.04: *wheezy
|
||||||
|
ubuntu-14.04:
|
||||||
|
build_dependencies:
|
||||||
|
- libicu-dev
|
||||||
|
dependencies:
|
||||||
|
- libicu52
|
||||||
|
- libpcre3
|
||||||
|
- git
|
|
@ -0,0 +1,16 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
set -ex
|
||||||
|
|
||||||
|
for file in config/*.yml.example; do
|
||||||
|
cp ${file} config/$(basename ${file} .example)
|
||||||
|
done
|
||||||
|
|
||||||
|
# No need for config file. Will be taken care of by REDIS_URL env variable
|
||||||
|
rm config/resque.yml
|
||||||
|
|
||||||
|
# Set default unicorn.rb file
|
||||||
|
echo "" > config/unicorn.rb
|
||||||
|
|
||||||
|
# Required for assets precompilation
|
||||||
|
sudo service postgresql start
|
Loading…
Reference in New Issue