ncdns-repro/projects/gomadns/config
2021-05-18 04:09:30 +00:00

45 lines
1.2 KiB
Plaintext

version: 2.0.2
git_url: https://github.com/hlandau/madns.git
git_hash: b579963a2a3ce6d9ca7c118cf3848b05a3919034
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: gopkg.in/hlandau/madns.v2
go_lib_deps:
- godns
- gobuildinfo
- goxlog
go_lib_install:
- gopkg.in/hlandau/madns.v2
- gopkg.in/hlandau/madns.v2/merr
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 -%]
input_files:
- project: container-image
- name: go
project: go
- name: '[% c("var/compiler") %]'
project: '[% c("var/compiler") %]'
enable: '[% c("var/linux") %]'
- name: binutils
project: binutils
enable: '[% c("var/linux") %]'
- name: godns
project: godns
- name: gobuildinfo
project: gobuildinfo
- name: goxlog
project: goxlog