gitea/modules
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
..
auth
avatar
base
cache
charset
context
convert
cron
generate
git
gitgraph
graceful
highlight
httplib
indexer
lfs
log
markup
metrics
migrations
notification
options Generate Bindata iff TAGS="bindata" and not up-to-date (#10004) 2020-01-27 01:05:38 +00:00
password
pprof
private
process
public Generate Bindata iff TAGS="bindata" and not up-to-date (#10004) 2020-01-27 01:05:38 +00:00
queue
recaptcha
references
repofiles
repository
secret
session
setting
ssh
structs
sync
task
templates Generate Bindata iff TAGS="bindata" and not up-to-date (#10004) 2020-01-27 01:05:38 +00:00
test
timeutil
upload
user
util
validation
webhook