Make application/controller/static.go the source code generate trigger instead of application/controller/static_pages.go

This commit is contained in:
NI
2020-07-18 18:33:48 +08:00
parent 6c7652ae30
commit 13542949c2
3 changed files with 27 additions and 183 deletions

View File

@@ -15,6 +15,9 @@
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <https://www.gnu.org/licenses/>.
//go:generate go run ./static_page_generater ../../.tmp/dist ./static_pages.go
//go:generate go fmt ./static_pages.go
package controller
import (