Skip to content

Commit

Permalink
end all files with trailing newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanKarpinski authored and KristofferC committed Jun 12, 2018
1 parent ae88856 commit 43ee91b
Show file tree
Hide file tree
Showing 19 changed files with 24 additions and 18 deletions.
2 changes: 1 addition & 1 deletion stdlib/Pkg/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
*.jl.mem
*.jl.cov
*.jl.*.cov
docs/build
docs/build
2 changes: 1 addition & 1 deletion stdlib/Pkg/src/Pkg2/types.jl
Original file line number Diff line number Diff line change
Expand Up @@ -153,4 +153,4 @@ end
hash(s::VersionSet, h::UInt) = hash(s.intervals, h + (0x2fd2ca6efa023f44 % UInt))
deepcopy_internal(vs::VersionSet, ::IdDict) = copy(vs)

end # module
end # module
2 changes: 1 addition & 1 deletion stdlib/Pkg/test/resolvedata1.jl
Original file line number Diff line number Diff line change
Expand Up @@ -2854,4 +2854,4 @@ want_data = Dict(
"WoodburyMatrices"=>v"0.2.2",
)

end
end
2 changes: 1 addition & 1 deletion stdlib/Pkg/test/test_packages/BigProject/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1 @@
deps/buildartifact
deps/buildartifact
Original file line number Diff line number Diff line change
@@ -1 +1 @@
deps/buildartifact
deps/buildartifact
Original file line number Diff line number Diff line change
@@ -1 +1 @@
deps/buildartifact
deps/buildartifact
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
using LibFoo
using Test

@test 1 == 1
@test 1 == 1
2 changes: 1 addition & 1 deletion stdlib/Pkg/test/test_packages/BigProject/test/REQUIRE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Example
Example
2 changes: 1 addition & 1 deletion stdlib/Pkg/test/test_packages/BigProject/test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ using BigProject
# #306 Pkg.jl
cd("LibFoo.jl") do
run(`$(Base.julia_cmd()) test/runtests.jl`)
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ module PackageWithBuildSpecificTestDeps

f(x) = x

end
end
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Example
Example
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ using Example
using PackageWithBuildSpecificTestDeps
using Test

@test PackageWithBuildSpecificTestDeps.f(3) == 3
@test PackageWithBuildSpecificTestDeps.f(3) == 3
2 changes: 1 addition & 1 deletion stdlib/Pkg/test/test_packages/RequireDependency/REQUIRE
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Example
Example
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ using Example
export f
f(x) = x

end
end
Original file line number Diff line number Diff line change
@@ -1 +1 @@
/deps/deps.jl
/deps/deps.jl
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# This file is a part of Julia. License is MIT: https://julialang.org/license

touch(joinpath(@__DIR__, "deps.jl"))
touch(joinpath(@__DIR__, "deps.jl"))
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ end
export f
f(x) = x

end
end
2 changes: 1 addition & 1 deletion stdlib/Pkg/test/testgroups
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
pkg
resolve
resolve
6 changes: 6 additions & 0 deletions stdlib/Pkg/test/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,9 @@ function cd_tempdir(f)
end

isinstalled(pkg) = Base.locate_package(Base.PkgId(pkg.uuid, pkg.name)) !== nothing

function write_build(path, content)
build_filename = joinpath(path, "deps", "build.jl")
mkpath(dirname(build_filename))
write(build_filename, content)
end

0 comments on commit 43ee91b

Please sign in to comment.