From c296d5275710c9393037b156827ccb4b2d90ca10 Mon Sep 17 00:00:00 2001 From: Nathan Johnson Date: Thu, 14 Jul 2022 15:06:05 -0500 Subject: [PATCH] change generate to do the right thing --- admin/ui/generate.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/admin/ui/generate.go b/admin/ui/generate.go index c01d74d92..555ffee96 100644 --- a/admin/ui/generate.go +++ b/admin/ui/generate.go @@ -1,10 +1,13 @@ package ui +//go:generate rm -rf assets/code.jquery.com +//go:generate rm -rf assets/cdnjs.cloudflare.com //go:generate wget -pP assets https://code.jquery.com/jquery-3.6.0.min.js //go:generate wget -pP assets https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/js/materialize.min.js //go:generate wget -pP assets https://cdnjs.cloudflare.com/ajax/libs/materialize/1.0.0/css/materialize.min.css // https://google.github.io/material-design-icons/#setup-method-2-self-hosting +//go:generate rm -rf assets/fonts //go:generate wget -nH -nd -pP assets/fonts https://raw.githubusercontent.com/google/material-design-icons/3.0.1/iconfont/MaterialIcons-Regular.ttf //go:generate wget -nH -nd -pP assets/fonts https://raw.githubusercontent.com/google/material-design-icons/3.0.1/iconfont/MaterialIcons-Regular.eot //go:generate wget -nH -nd -pP assets/fonts https://raw.githubusercontent.com/google/material-design-icons/3.0.1/iconfont/MaterialIcons-Regular.woff