remove hls.js from the repository and restore plain MIT license (#3008)

This commit is contained in:
Alessandro Ros 2024-02-12 00:31:13 +01:00 committed by GitHub
parent fcf649cdaf
commit 9eb97ad3a0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
12 changed files with 77 additions and 12 deletions

View file

@ -26,6 +26,7 @@ ENV CGO_ENABLED 0
RUN rm -rf tmp binaries
RUN mkdir tmp binaries
RUN cp mediamtx.yml LICENSE tmp/
RUN go generate ./...
FROM build-base AS build-windows-amd64
RUN GOOS=windows GOARCH=amd64 go build -ldflags "-X github.com/bluenviron/mediamtx/internal/core.version=$$VERSION" -o tmp/$(BINARY_NAME).exe

View file

@ -1,4 +1,5 @@
test-highlevel-nodocker:
go generate ./...
go test -v -race -tags enable_highlevel_tests ./internal/highleveltests
define DOCKERFILE_HIGHLEVEL_TEST

View file

@ -1,9 +1,9 @@
LBITS := $(shell getconf LONG_BIT)
ifeq ($(LBITS),64)
RACE=-race
ifeq ($(shell getconf LONG_BIT),64)
RACE=-race
endif
test-internal:
go generate ./...
go test -v $(RACE) -coverprofile=coverage-internal.txt \
$$(go list ./internal/... | grep -v /core)