Skip to content

Commit

Permalink
Rebuild assets on generate
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasHirt committed Nov 26, 2020
1 parent 79ec1d1 commit bff7734
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 5 additions & 1 deletion onlyoffice/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,13 @@ lint:
for PKG in $(PACKAGES); do go run golang.org/x/lint/golint -set_exit_status $$PKG || exit 1; done;

.PHONY: generate
generate:
generate: generate-assets
go generate $(GENERATE)

.PHONY: generate-assets
generate-assets:
rm -Rf assets/* && yarn install && yarn build

.PHONY: changelog
changelog:
go run github.com/restic/calens >| CHANGELOG.md
Expand Down
4 changes: 2 additions & 2 deletions onlyoffice/pkg/assets/embed.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit bff7734

Please sign in to comment.