diff --git a/justfile b/justfile index 31385275..17778a7b 100644 --- a/justfile +++ b/justfile @@ -104,14 +104,12 @@ _generate-ent: set -euxo pipefail cd "{{ THISDIR }}/generated/ent" find . -not -name generate.go -and -not -name main.go -and -not -path "**/schema/*" -type f -delete - go run -mod=mod entgo.io/ent/cmd/ent generate --header \ + go run entgo.io/ent/cmd/ent@latest generate --header \ "// SPDX-FileCopyrightText: The entgo authors // SPDX-License-Identifier: Apache-2.0 // Code generated by ent, DO NOT EDIT." --feature sql/execquery,sql/versioned-migration ./schema - go mod tidy - # Generate code generate: _generate-swagger _generate-ent