Skip to content

Commit

Permalink
Rename autogenerated mounts directory to .mounts
Browse files Browse the repository at this point in the history
This makes the directory slightly less annoying when doing interactive
exploration via something like `julia -e 'using BinaryBuilder; BinaryBuilder.runshell()'
  • Loading branch information
staticfloat authored and giordano committed Jun 24, 2020
1 parent 11c8aa1 commit 0257f55
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Rootfs.jl
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ end

function mount_path(cs::CompilerShard, build_prefix::AbstractString)
if cs.archive_type == :squashfs
return joinpath(build_prefix, "mounts", artifact_name(cs))
return joinpath(build_prefix, ".mounts", artifact_name(cs))
else
name = artifact_name(cs)
artifacts_toml = joinpath(@__DIR__, "..", "Artifacts.toml")
Expand Down Expand Up @@ -891,7 +891,7 @@ function unmount_shards(ur::Runner; verbose::Bool = false)

# Remove `mounts` if it's empty
try
rm(joinpath(ur.workspace_root, "mounts"))
rm(joinpath(ur.workspace_root, ".mounts"))
catch
end
end
Expand Down

2 comments on commit 0257f55

@giordano
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Registration pull request updated: JuliaRegistries/General/16926

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.2.1 -m "<description of version>" 0257f55e25b2f0059651cf1a42c072e744391159
git push origin v0.2.1

Please sign in to comment.