Skip to content

Commit b42e579

Browse files
committed
Debug cache for native libs
1 parent 2977c26 commit b42e579

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

.github/workflows/haskell.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@ jobs:
5757
${{ runner.os }}-${{ runner.arch }}-build-
5858
${{ runner.os }}-${{ runner.arch }}-
5959
60+
- name: ❓ Check cache
61+
run: |
62+
find ~/.local
63+
6064
- name: 🚄 Prepare OS
6165
if: ${{ matrix.os == 'macos' }}
6266
run: |

build.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ runShake pwd uid = shakeArgs options $ do
8787
needDependencies
8888
installDir <- liftIO $ getXdgDirectory XdgData ""
8989
let libDirectory = installDir </> "lib"
90-
liftIO $ removeFiles installDir ["//*.so", "//*.dylib"]
90+
liftIO $ removeFiles libDirectory ["//*.so", "//*.dylib"]
9191
cmd_ "cabal" ["update"]
9292
command_
9393
[AddEnv "PKG_CONFIG_PATH" (libDirectory </> "pkgconfig")]

0 commit comments

Comments
 (0)