rclone/vendor/github.com/djherbis/times/js.cover.dockerfile

9 lines
286 B
Plaintext
Raw Normal View History

2019-02-09 20:50:35 +08:00
FROM golang:1.11
RUN curl -sL https://deb.nodesource.com/setup_8.x | bash
RUN apt-get install --yes nodejs
WORKDIR /go/src/github.com/djherbis/times
COPY . .
RUN GOOS=js GOARCH=wasm go test -covermode=count -coverprofile=profile.cov -exec="$(go env GOROOT)/misc/wasm/go_js_wasm_exec"