2019-01-11 20:34:05 +00:00
|
|
|
version: '[% c("abbrev") %]'
|
|
|
|
git_url: https://github.com/hlandau/dexlogconfig.git
|
2019-09-11 21:39:17 +00:00
|
|
|
git_hash: 244f29bd260884993b176cd14ef2f7631f6f3c18
|
2019-01-11 20:34:05 +00:00
|
|
|
filename: '[% project %]-[% c("version") %]-[% c("var/osname") %]-[% c("var/build_id") %].tar.gz'
|
|
|
|
|
|
|
|
build: '[% c("projects/go/var/build_go_lib") %]'
|
|
|
|
|
|
|
|
var:
|
|
|
|
container:
|
|
|
|
use_container: 1
|
|
|
|
go_lib: github.com/hlandau/dexlogconfig
|
|
|
|
go_lib_deps:
|
2019-09-11 21:17:02 +00:00
|
|
|
- gobuildinfo
|
|
|
|
- goeasyconfig
|
|
|
|
- gosystemd
|
|
|
|
- goxlog
|
2019-04-30 14:25:29 +00:00
|
|
|
build_go_lib_pre: |
|
|
|
|
[% IF c("var/linux") %]
|
|
|
|
[% pc(c('var/compiler'), 'var/setup', { compiler_tarfile => c('input_files_by_name/' _ c('var/compiler')) }) %]
|
|
|
|
|
|
|
|
tar -C /var/tmp/dist -xf $rootdir/[% c('input_files_by_name/binutils') %]
|
|
|
|
export PATH="/var/tmp/dist/binutils/bin:$PATH"
|
|
|
|
|
|
|
|
export CGO_ENABLED=1
|
|
|
|
[% END -%]
|
2019-01-11 20:34:05 +00:00
|
|
|
|
2019-06-08 04:25:37 +00:00
|
|
|
targets:
|
|
|
|
windows:
|
|
|
|
var:
|
|
|
|
go_lib_deps:
|
2019-09-11 21:17:02 +00:00
|
|
|
- gobuildinfo
|
|
|
|
- goeasyconfig
|
|
|
|
- goxlog
|
2019-06-08 04:25:37 +00:00
|
|
|
|
2019-01-11 20:34:05 +00:00
|
|
|
input_files:
|
|
|
|
- project: container-image
|
|
|
|
- name: go
|
|
|
|
project: go
|
2019-04-30 14:25:29 +00:00
|
|
|
- name: '[% c("var/compiler") %]'
|
|
|
|
project: '[% c("var/compiler") %]'
|
|
|
|
enable: '[% c("var/linux") %]'
|
|
|
|
- name: binutils
|
|
|
|
project: binutils
|
|
|
|
enable: '[% c("var/linux") %]'
|
2019-09-11 21:17:02 +00:00
|
|
|
- name: goxlog
|
|
|
|
project: goxlog
|
|
|
|
- name: goeasyconfig
|
|
|
|
project: goeasyconfig
|
|
|
|
- name: gosystemd
|
|
|
|
project: gosystemd
|
2019-06-08 04:25:37 +00:00
|
|
|
enable: '[% ! c("var/windows") %]'
|
2019-09-11 21:17:02 +00:00
|
|
|
- name: gobuildinfo
|
|
|
|
project: gobuildinfo
|