Skip to content

Commit

Permalink
remove duplicate json folder variable
Browse files Browse the repository at this point in the history
  • Loading branch information
benlorenz committed Aug 11, 2020
1 parent af47adf commit 6bea8db
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/generate_applications.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,8 @@ include("meta.jl")

using Polymake.Meta

generated_dir = joinpath(@__DIR__, "generated")
json_dir = joinpath(generated_dir, "json")
isdir(generated_dir) || mkpath(generated_dir)

for (app, mod) in appname_module_dict
json_file = joinpath(json_dir, "$app.json")
json_file = joinpath(json_folder, "$app.json")
@assert isfile(json_file)
@info "Generating module $mod"
@eval $(Polymake.Meta.jl_code(Polymake.Meta.PolymakeApp(mod, json_file)))
Expand Down

0 comments on commit 6bea8db

Please sign in to comment.