Skip to content

Commit

Permalink
Don't create empty Manifest.toml (v2) (#425)
Browse files Browse the repository at this point in the history
* manifest

* bump version
  • Loading branch information
cossio authored Sep 2, 2023
1 parent c6df058 commit f62c304
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "PkgTemplates"
uuid = "14b8a8f1-9102-5b29-a752-f990bacb7fe1"
authors = ["Chris de Graaf", "Invenia Technical Computing Corporation"]
version = "0.7.42"
version = "0.7.43"

[deps]
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
Expand Down
3 changes: 1 addition & 2 deletions src/plugins/tests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Sets up testing for packages.
- `project::Bool`: Whether or not to create a new project for tests (`test/Project.toml`).
See [the Pkg docs](https://julialang.github.io/Pkg.jl/v1/creating-packages/#Test-specific-dependencies-in-Julia-1.2-and-above-1)
for more details.
- `aqua::Bool`: Controls whether or not to add quality tests with [Aqua.jl](https://github.com/JuliaTesting/Aqua.jl).
- `aqua::Bool`: Controls whether or not to add quality tests with [Aqua.jl](https://github.com/JuliaTesting/Aqua.jl).
- `aqua_kwargs::NamedTuple`: Which keyword arguments to supply to Aqua tests (many people use `ambiguities=false` for example)
!!! note
Expand Down Expand Up @@ -115,7 +115,6 @@ function add_test_dependency(p::Tests, pkg_dir::AbstractString)
write_project(path, toml)

# Generate the manifest by updating the project.
touch(joinpath(pkg_dir, "Manifest.toml")) # File must exist to be modified by Pkg.
with_project(Pkg.update, pkg_dir)
end

Expand Down

2 comments on commit f62c304

@nickrobinson251
Copy link
Collaborator

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 created: JuliaRegistries/General/90697

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.7.43 -m "<description of version>" f62c304f976e4712137ab1108c75411c61e88844
git push origin v0.7.43

Please sign in to comment.