Browse Source

packager: update files (#4181)

* Fix packaging

* Fix macaron vendor sha

Revision 8be5635c28f40a85ce8e8f65c6118b4ee4e548e9 does not exist

* Add build dependency for centos
pull/3854/merge
Cyril Rohr 8 years ago committed by 无闻
parent
commit
3c0d162961
  1. 6
      .pkgr.yml
  2. 2
      packager/Procfile
  3. 2
      vendor/vendor.json

6
.pkgr.yml

@ -19,6 +19,8 @@ targets:
centos-6: &el
build_dependencies:
- pam-devel
# required for go buildpack
- perl-Digest-SHA
dependencies:
- pam
- git
@ -26,7 +28,7 @@ targets:
<<: *el
before:
- mv packager/Procfile .
- mv packager/.godir .
after:
- mv bin/main gogs
- mv bin/gogs gogs
after_install: ./packager/hooks/postinst
buildpack: https://github.com/heroku/heroku-buildpack-go.git#v62

2
packager/Procfile

@ -1 +1 @@
web: ./gogs web
web: ./gogs web -p ${PORT:=3000}

2
vendor/vendor.json vendored

@ -557,7 +557,7 @@
{
"checksumSHA1": "qM9ubEa57g4oNa6JLFQ+e1TCMno=",
"path": "gopkg.in/macaron.v1",
"revision": "8be5635c28f40a85ce8e8f65c6118b4ee4e548e9",
"revision": "a325110f8b392bce3e5cdeb8c44bf98078ada3be",
"revisionTime": "2017-02-19T20:49:11Z"
},
{

Loading…
Cancel
Save