blob: c82401c3130df9a156623cd7b577bd1324cc7dce [file] [log] [blame]
Brad Bishop316dfdd2018-06-25 12:45:53 -04001DEPENDS_append = " go-dep-native"
2
3do_compile_prepend() {
4 rm -f ${WORKDIR}/build/src/${GO_IMPORT}/Gopkg.toml
5 rm -f ${WORKDIR}/build/src/${GO_IMPORT}/Gopkg.lock
6 ( cd ${WORKDIR}/build/src/${GO_IMPORT} && dep init && dep ensure )
7}
8