From 44323fd4d6153c99aacfb09cbd8dbefb5dcc179f Mon Sep 17 00:00:00 2001 From: chenhongtao Date: Fri, 7 Apr 2023 20:45:17 +0800 Subject: [PATCH] chore: add gen.go Log: add gen.go support --- .gitignore | 2 ++ gen.go | 17 +++++++++++++++++ 2 files changed, 19 insertions(+) create mode 100644 gen.go diff --git a/.gitignore b/.gitignore index e017e0fd1..29e154717 100644 --- a/.gitignore +++ b/.gitignore @@ -49,3 +49,5 @@ misc/polkit-action/*.policy coverage.csv ConfigKeeperMute_Save system/uadp1/testdata + +/target diff --git a/gen.go b/gen.go new file mode 100644 index 000000000..359500039 --- /dev/null +++ b/gen.go @@ -0,0 +1,17 @@ +// SPDX-FileCopyrightText: 2018 - 2022 UnionTech Software Technology Co., Ltd. +// +// SPDX-License-Identifier: GPL-3.0-or-later + +package daemon + +//go:generate go build -o target/ github.com/linuxdeepin/dde-daemon/bin/dde-session-daemon +//go:generate go build -o target/ github.com/linuxdeepin/dde-daemon/bin/dde-system-daemon +//go:generate go build -o target/ github.com/linuxdeepin/dde-daemon/bin/grub2 +//go:generate go build -o target/ github.com/linuxdeepin/dde-daemon/bin/search +//go:generate go build -o target/ github.com/linuxdeepin/dde-daemon/bin/backlight_helper +//go:generate go build -o target/ github.com/linuxdeepin/dde-daemon/bin/langselector +//go:generate go build -o target/ github.com/linuxdeepin/dde-daemon/bin/soundeffect +//go:generate go build -o target/ github.com/linuxdeepin/dde-daemon/bin/dde-lockservice +//go:generate go build -o target/ github.com/linuxdeepin/dde-daemon/bin/dde-authority +//go:generate go build -o target/ github.com/linuxdeepin/dde-daemon/bin/default-terminal +//go:generate go build -o target/ github.com/linuxdeepin/dde-daemon/bin/dde-greeter-setter