ci: migrate to github actions

This commit is contained in:
Oleg Lobanov committed 2021-03-04 11:35:52 +01:00
1 parent 35a4379b67
commit 47578e02e3
6 files changed
+76 -100

No files matched your search

+4 -2
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…)