build: Let "go generate" create assets

This commit is contained in:
Jakob Borg
2018-06-26 09:14:21 +02:00
parent 406b394704
commit ef5ca0c218
5 changed files with 28 additions and 6 deletions

View File

@@ -0,0 +1,10 @@
// Copyright (C) 2018 The Syncthing Authors.
//
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this file,
// You can obtain one at https://mozilla.org/MPL/2.0/.
//go:generate go run ../../../script/genassets.go -o gui.files.go ../gui
// Package auto contains auto generated files for web assets.
package auto