Skip to content

Commit

Permalink
chore: add gen.go support (linuxdeepin#94)
Browse files Browse the repository at this point in the history
Log: add gen.go support
  • Loading branch information
Decodetalkers authored May 8, 2023
1 parent 117627c commit 089e529
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ sound/dev_test.go
graphic/testdata/test_*
misc/polkit-action/*.policy
coverage.csv
/target
19 changes: 19 additions & 0 deletions gen.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// SPDX-FileCopyrightText: 2018 - 2022 UnionTech Software Technology Co., Ltd.
//
// SPDX-License-Identifier: GPL-3.0-or-later

package api

//go:generate go build -o target/ github.com/linuxdeepin/dde-api/device
//go:generate go build -o target/ github.com/linuxdeepin/dde-api/graphic
//go:generate go build -o target/ github.com/linuxdeepin/dde-api/locale-helper
//go:generate go build -o target/ github.com/linuxdeepin/dde-api/thumbnailer
//go:generate go build -o target/ github.com/linuxdeepin/dde-api/hans2pinyin
//go:generate go build -o target/ github.com/linuxdeepin/dde-api/cursor-helper
//go:generate go build -o target/ github.com/linuxdeepin/dde-api/gtk-thumbnailer
//go:generate go build -o target/ github.com/linuxdeepin/dde-api/sound-theme-player
//go:generate go build -o target/ github.com/linuxdeepin/dde-api/deepin-shutdown-sound
//go:generate go build -o target/ github.com/linuxdeepin/dde-api/dde-open
//go:generate go build -o target/ github.com/linuxdeepin/dde-api/adjust-grub-theme
//go:generate go build -o target/ github.com/linuxdeepin/dde-api/image-blur
//go:generate go build -o target/ github.com/linuxdeepin/dde-api/image-blur-helper

0 comments on commit 089e529

Please sign in to comment.