blob: c82401c3130df9a156623cd7b577bd1324cc7dce [file] [log] [blame]
DEPENDS_append = " go-dep-native"
do_compile_prepend() {
rm -f ${WORKDIR}/build/src/${GO_IMPORT}/Gopkg.toml
rm -f ${WORKDIR}/build/src/${GO_IMPORT}/Gopkg.lock
( cd ${WORKDIR}/build/src/${GO_IMPORT} && dep init && dep ensure )
}