Template
1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo synced 2024-11-24 18:56:11 +01:00
forgejo/modules/templates
zeripath 48abe41ea8
Generate Bindata iff TAGS="bindata" and not up-to-date (#10004)
* Only generate bindata if necessary

* Only generate bindata if they are not up-to-date

* generate a hash of the fileinfo and use that to keep up-to-date

* Newer test is redundant

* handle missing bindata and clean

* Only update hash after successful write

* switch to sha1 hash

* Apply suggestions from code review

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>

Co-authored-by: guillep2k <18600385+guillep2k@users.noreply.github.com>
2020-01-27 01:05:38 +00:00
..
dynamic.go Use templates for issue e-mail subject and body (#8329) 2019-11-07 21:34:28 +08:00
helper.go Add top author stats to activity page (#9615) 2020-01-20 12:07:30 +02:00
helper_test.go Use templates for issue e-mail subject and body (#8329) 2019-11-07 21:34:28 +08:00
static.go Use templates for issue e-mail subject and body (#8329) 2019-11-07 21:34:28 +08:00
templates_bindata.go Generate Bindata iff TAGS="bindata" and not up-to-date (#10004) 2020-01-27 01:05:38 +00:00