Skip to content

Commit

Permalink
change generate to do the right thing
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanejohnson committed Jul 14, 2022
1 parent 2c072e7 commit c296d52
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions admin/ui/generate.go
Original file line number Diff line number Diff line change
@@ -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
Expand Down

0 comments on commit c296d52

Please sign in to comment.