forgejo/models
Sandro Santilli f6b58964d7 Include formatting check to the make test (and thus also check) rule (#1366)
* Include formatting check to the `make check` rule

... and give it its own standalone target too (make fmt-check)

Show diff on fmt-check failure
Do not allow running "fmt-check" with incompatible go version
Also simplify the `fmt` rule

* Forbid running "make fmt" with Go version != 1.7 or 1.8

* Ignore bindata.go for spelling and formatting checks

also remove duplicated variable assignment for GOFILES

* Run `make fmt`
2017-06-06 08:53:16 -05:00
..
fixtures
migrations
access.go
access_test.go
action.go
action_test.go
admin.go
admin_test.go
attachment.go
attachment_test.go
branches.go
consistency.go
error.go
error_oauth2.go
external_login_user.go
git_diff.go
git_diff_test.go
gpg_key.go
gpg_key_test.go
graph.go
graph_test.go
helper.go
issue.go
issue_comment.go
issue_indexer.go
issue_label.go
issue_label_test.go
issue_list.go
issue_list_test.go
issue_mail.go
issue_milestone.go
issue_milestone_test.go
issue_test.go
issue_user.go
issue_user_test.go
issue_watch.go
issue_watch_test.go
lfs.go
login_source.go
mail.go
main_test.go
models.go
models_sqlite.go
models_test.go
models_tidb.go
notification.go
notification_test.go
oauth2.go
org.go
org_team.go
org_team_test.go
org_test.go
pull.go
pull_test.go
release.go
repo.go
repo_branch.go
repo_collaboration.go
repo_collaboration_test.go
repo_editor.go
repo_list.go
repo_list_test.go
repo_mirror.go
repo_redirect.go
repo_redirect_test.go
repo_test.go Include formatting check to the make test (and thus also check) rule (#1366) 2017-06-06 08:53:16 -05:00
repo_unit.go
repo_watch.go
repo_watch_test.go
ssh_key.go
ssh_key_test.go
star.go
star_test.go
status.go
status_test.go
test_fixtures.go
token.go
token_test.go
twofactor.go
unit.go
unit_tests.go
update.go
update_test.go
user.go
user_follow.go
user_follow_test.go
user_mail.go
user_mail_test.go
user_openid.go
user_openid_test.go
user_test.go
webhook.go
webhook_slack.go
webhook_test.go
wiki.go
wiki_test.go