Skip to content

Commit c51cf3a

Browse files
authored
Add phony targets for all plugins (#35)
1 parent dfbfc57 commit c51cf3a

File tree

1 file changed

+61
-0
lines changed

1 file changed

+61
-0
lines changed

src/Main.hs

Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,67 @@ main = do
101101
need artifacts
102102
writeFileLines (outputDir </> "artifacts.txt") ("toolchain-versions.json" : artifacts)
103103
getToolchainVersions >>= writeFile' (outputDir </> "toolchain-versions.json") . TL.unpack . TLB.toLazyText . A.encodePrettyToTextBuilder
104+
"fcitx5" ~> do
105+
need
106+
[ "fmt",
107+
"libuv",
108+
"libintl-lite"
109+
]
110+
"app" ~> do
111+
need
112+
[ "fcitx5",
113+
"spell-dict",
114+
"libime",
115+
"chinese-addons-data",
116+
"lua",
117+
"opencc",
118+
"boost",
119+
"zstd"
120+
]
121+
"anthy" ~> do
122+
need
123+
[ "fcitx5",
124+
"anthy-dict"
125+
]
126+
"chewing" ~> do
127+
need
128+
[ "fcitx5",
129+
"libchewing",
130+
"chewing-dict"
131+
]
132+
"hangul" ~> do
133+
need
134+
[ "fcitx5",
135+
"libhangul"
136+
]
137+
"jyutping" ~> do
138+
need
139+
[ "fcitx5",
140+
"libime-jyutping",
141+
"lua",
142+
"opencc",
143+
"boost",
144+
"zstd"
145+
]
146+
"rime" ~> do
147+
need
148+
[ "fcitx5",
149+
"librime"
150+
]
151+
"sayura" ~> do
152+
need
153+
[ "fcitx5"
154+
]
155+
"thai" ~> do
156+
need
157+
[ "fcitx5",
158+
"libthai",
159+
"libiconv"
160+
]
161+
"unikey" ~> do
162+
need
163+
[ "fcitx5"
164+
]
104165
"clean" ~> do
105166
removeFilesAfter outputDir ["//*"]
106167
cmd_ "git" "submodule" "foreach" "--recursive" "git" "reset" "--hard"

0 commit comments

Comments
 (0)