From 2617ce7199195b5ef71146b9e5b01692c990dc5d Mon Sep 17 00:00:00 2001 From: Rocka Date: Mon, 27 Jan 2025 13:14:47 +0800 Subject: [PATCH] Add phony targets for all plugins --- src/Main.hs | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) diff --git a/src/Main.hs b/src/Main.hs index 20451147..946d8415 100644 --- a/src/Main.hs +++ b/src/Main.hs @@ -101,6 +101,67 @@ main = do need artifacts writeFileLines (outputDir "artifacts.txt") ("toolchain-versions.json" : artifacts) getToolchainVersions >>= writeFile' (outputDir "toolchain-versions.json") . TL.unpack . TLB.toLazyText . A.encodePrettyToTextBuilder + "fcitx5" ~> do + need + [ "fmt", + "libuv", + "libintl-lite" + ] + "app" ~> do + need + [ "fcitx5", + "spell-dict", + "libime", + "chinese-addons-data", + "lua", + "opencc", + "boost", + "zstd" + ] + "anthy" ~> do + need + [ "fcitx5", + "anthy-dict" + ] + "chewing" ~> do + need + [ "fcitx5", + "libchewing", + "chewing-dict" + ] + "hangul" ~> do + need + [ "fcitx5", + "libhangul" + ] + "jyutping" ~> do + need + [ "fcitx5", + "libime-jyutping", + "lua", + "opencc", + "boost", + "zstd" + ] + "rime" ~> do + need + [ "fcitx5", + "librime" + ] + "sayura" ~> do + need + [ "fcitx5" + ] + "thai" ~> do + need + [ "fcitx5", + "libthai", + "libiconv" + ] + "unikey" ~> do + need + [ "fcitx5" + ] "clean" ~> do removeFilesAfter outputDir ["//*"] cmd_ "git" "submodule" "foreach" "--recursive" "git" "reset" "--hard"