ci: migrate to github actions

This commit is contained in:
Oleg Lobanov
2021-03-04 01:21:05 +01:00
parent 35a4379b67
commit 47578e02e3
6 changed files with 76 additions and 100 deletions

View File

@@ -51,10 +51,12 @@ build-frontend: | ; $(info $(M) building frontend…)
## build-backend: Build backend
.PHONY: build-backend
build-backend: | $(RICE) ; $(info $(M) building backend)
$Q cd ./http && rm -rf rice-box.go && $(RICE) embed-go
build-backend: bundle-frontend | ; $(info $(M) building backend)
$Q $(GO) build -ldflags '$(LDFLAGS)' -o filebrowser
bundle-frontend: | $(RICE) ; $(info $(M) building backend)
$Q cd ./http && rm -rf rice-box.go && $(RICE) embed-go
## test: Run all tests
.PHONY: test
test: | test-frontend test-backend ; $(info $(M) running tests)