From 8080e23c9bc4e37102f63bec36603a540ff6ea9b Mon Sep 17 00:00:00 2001 From: zeripath Date: Mon, 5 Sep 2022 07:04:18 +0100 Subject: Move go-licenses to generate and separate generate into a frontend and backend component (#21061) The `go-licenses` make task introduced in #21034 is being run on make vendor and occasionally causes an empty go-licenses file if the vendors need to change. This should be moved to the generate task as it is a generated file. Now because of this change we also need to split generation into two separate steps: 1. `generate-backend` 2. `generate-frontend` In the future it would probably be useful to make `generate-swagger` part of `generate-frontend` but it's not tolerated with our .drone.yml Ref #21034 Signed-off-by: Andrew Thornton Signed-off-by: Andrew Thornton Co-authored-by: delvh --- services/migrations/dump.go | 1 - 1 file changed, 1 deletion(-) (limited to 'services/migrations/dump.go') diff --git a/services/migrations/dump.go b/services/migrations/dump.go index 2dc35b9d9f..188f2775e0 100644 --- a/services/migrations/dump.go +++ b/services/migrations/dump.go @@ -26,7 +26,6 @@ import ( "code.gitea.io/gitea/modules/structs" "github.com/google/uuid" - "gopkg.in/yaml.v2" ) -- cgit v1.2.3