Skip to content

Fix @info for julia 1.0 compatibility #31

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions src/bundle.jl
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ function build_app_bundle(script::String;
script = abspath(script)
base_path = dirname(script)
builddir = joinpath(base_path, builddir, appname)
info("Building at path $builddir")
@info "Building at path $builddir"
mkpath(builddir)

core_path = joinpath(builddir, "core")
Expand All @@ -27,14 +27,14 @@ function build_app_bundle(script::String;

delim = Compat.Sys.iswindows() ? '\\' : '/'

info("Copying resources:")
@info "Copying resources:"
for res in resources
print("Copying $res...")
Compat.cp(res, joinpath(res_path, split(res, delim)[end]), force = true)
println("... done.")
end

info("Copying libraries")
@info "Copying libraries"
for lib in libraries
print("Copying $lib...")
Compat.cp(lib, joinpath(lib_path, split(lib, delim)[end]), force = true)
Expand Down
4 changes: 2 additions & 2 deletions src/installer.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,13 +28,13 @@ function installer(builddir; name = "nothing",
SectionEnd
"""

info("Creating installer at $builddir")
@info "Creating installer at $builddir"
nsis_file = joinpath(builddir, "..", "$name.nsi")
open(nsis_file, "w") do f
write(f, nsis_commands)
end
run(`makensis $nsis_file`)

info("Created installer successfully.")
@info "Created installer successfully."

end