Skip to content

Commit

Permalink
cd into the right directory before downloading jar
Browse files Browse the repository at this point in the history
  • Loading branch information
olynch committed Apr 9, 2024
1 parent 45d5213 commit d3b3988
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions test/intertypes/InterTypes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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("..")

Expand Down

0 comments on commit d3b3988

Please sign in to comment.