From d3b3988f0b789ab4dc75c00ace1610aa8b5b2d69 Mon Sep 17 00:00:00 2001 From: Owen Lynch Date: Tue, 9 Apr 2024 12:46:26 -0700 Subject: [PATCH] cd into the right directory before downloading jar --- test/intertypes/InterTypes.jl | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/intertypes/InterTypes.jl b/test/intertypes/InterTypes.jl index 6271fb3..85b2f05 100644 --- a/test/intertypes/InterTypes.jl +++ b/test/intertypes/InterTypes.jl @@ -189,7 +189,9 @@ catch error end if hasgradle - java_dir = joinpath(@__DIR__, "java/lib/src/main/java") + cd(@__DIR__) + + java_dir = "java/lib/src/main/java" generate_module(simpleast, JacksonTarget, java_dir) generate_module(model, JacksonTarget, java_dir) generate_module(wgraph, JacksonTarget, java_dir) @@ -207,7 +209,7 @@ if hasgradle run(`unzip acsets4j-0.1.zip -d java/lib/deps/`) run(`rm acsets4j-0.1.zip`) - cd(joinpath(@__DIR__, "java")) + cd("java") run(`gradle build`) cd("..")