wxiaoguang
c18d8d6968
Remove legacy `+build:` constraint ( #19582 )
...
Go 1.17 and later use modern `//go:build` constraints, the old `// +build:` constraints should be removed.
3 years ago
techknowlogick
84145e45c5
Remove golang vendored directory ( #18277 )
...
* rm go vendor
* fix drone yaml
* add to gitignore
3 years ago
Lunny Xiao
a1c12fb0b3
Don't store assets modified time into generated files ( #18193 )
3 years ago
John Olheiser
648464b504
Add bundle download for repository ( #14538 )
...
* Add bundle download
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix fmt
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Fix build tags
Signed-off-by: jolheiser <john.olheiser@gmail.com>
* Download specific commit
Signed-off-by: jolheiser <john.olheiser@gmail.com>
3 years ago
Lunny Xiao
4f63f283c4
Rename scripts to build and add revive command as a new build tool command ( #10942 )
...
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
5 years ago
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>
5 years ago
Lunny Xiao
e503794371
remove unnecessary fmt on generate bindata ( #7706 )
5 years ago
Lunny Xiao
83b90e4199
Use vfsgen instead of go-bindata ( #7080 )
...
* use vfsgen instead of go-bindata
* fix templates
* fix fmt
* vendor vsfgen
5 years ago
Thomas Boerger
83ed234472
Integrate templates into bindata optionally ( #314 )
...
Integrated optional bindata for the templates
8 years ago