blob: c82401c3130df9a156623cd7b577bd1324cc7dce [file] [log] [blame]
lh9ed821d2023-04-07 01:36:19 -07001DEPENDS_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