git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Clean go modcache if top-level go.mod deleted
commitc273a195ef6d8c11bb98cc5fe81bfc9a732ca85b authorAndy Arvanitis <andyarvanitis@gmail.com> dateSun 8 Sep 2019, 16:44 (7 years ago) parentbc8ddad
1 file changed+1
app/Main.hs+1
app/Main.hs+1
@@ -174,6 +174,7 @@ writeSupportFiles baseOutpath = do
174174 B.writeFile goModSource $ T.encodeUtf8 modText'
175175 callProcess "go" ["mod", "edit", "-replace", replaceLoader]
176176 callProcess "go" ["mod", "edit", "-replace", replaceOutput]
177+ callProcess "go" ["clean", "-modcache"]
177178 writeLoaderFile :: FilePath -> B.ByteString -> IO ()
178179 writeLoaderFile ffiOutpath loaderText = do
179180 let loaderSource = ffiOutpath </> "ffi_loader.go"