Logo
Explore Help
Register Sign In
Shiloh/githaven
Shiloh/githaven
1
0
Fork 0
You've already forked githaven
Code Issues Pull Requests Actions 1 Packages Projects Releases Wiki Activity
githaven/modules/public/public_bindata.go

10 lines
294 B
Go
Raw Normal View History

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
// Copyright 2020 The Gitea Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
//+build bindata
package public
Rename scripts to build and add revive command as a new build tool command (#10942) Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2020-04-04 03:29:12 +08:00
//go:generate go run -mod=vendor ../../build/generate-bindata.go ../../public public bindata.go
Reference in New Issue Copy Permalink
Brought to you by Shiloh Version: 1.23.3 Page: 94ms Template: 2ms
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API