Skip to content

Commit

Permalink
Fix commandline_app to create builddir if it doesnt exist already
Browse files Browse the repository at this point in the history
  • Loading branch information
NHDaly committed Jul 22, 2018
1 parent 1cfb2da commit 82c7082
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/mac_commandline_app.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ end

function build_commandline_app_bundle(builddir, binary_name, appname)

mkpath(builddir) # Create builddir if it doesn't already exist.
applescript_file = "$builddir/build_$appname.applescript"
exe_dir = "Contents/app"
write(applescript_file, get_commandline_applescript(exe_dir, binary_name))
Expand Down

0 comments on commit 82c7082

Please sign in to comment.