]> source.dussan.org Git - gitea.git/commit
Implement "embedded" command to extract static resources (#9982)
authorguillep2k <18600385+guillep2k@users.noreply.github.com>
Sun, 2 Feb 2020 02:17:44 +0000 (23:17 -0300)
committerGitHub <noreply@github.com>
Sun, 2 Feb 2020 02:17:44 +0000 (10:17 +0800)
commitbcb52aef09160c1057baa97b9275e8fb63587b12
tree30aa80530dc41a0a742a2eac87dd2141b4cfe621
parent9b9dd19d7dfe826789f0690f84d9f59470ad9e82
Implement "embedded" command to extract static resources (#9982)

* draft

* Implement extract command

* Fix nits and force args on extract

* Add !bindata stub, support Windows, fmt

* fix vendored flag

* Remove leading slash for matching

* Add docs

* Fix typos

* Add embedded view command

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: Lunny Xiao <xiaolunwen@gmail.com>
cmd/embedded.go [new file with mode: 0644]
cmd/embedded_stub.go [new file with mode: 0644]
docs/content/doc/advanced/cmd-embedded.en-us.md [new file with mode: 0644]
docs/content/doc/advanced/customizing-gitea.en-us.md
main.go
modules/options/static.go
modules/public/static.go
modules/templates/static.go