Skip to content

Commit

Permalink
Cleanup work before release (#36)
Browse files Browse the repository at this point in the history
* Remove patches and dev dependencies

* Add missing compat entries
  • Loading branch information
AntonReinhard authored Aug 6, 2024
1 parent 4091128 commit 661ce60
Show file tree
Hide file tree
Showing 8 changed files with 5 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .JuliaFormatter.toml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
style = "blue"
style = "blue"
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ jobs:
- name: Install dependencies
run: |
julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.instantiate()'
julia --project=docs/ add_QED_dev.jl
- name: Build and deploy
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # If authenticating with GitHub Actions token
Expand Down
1 change: 0 additions & 1 deletion .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ stages:
- git clone --depth 1 -b dev https://github.com/QEDjl-project/QED.jl.git /QEDjl
- julia --project=. -e 'import Pkg; Pkg.Registry.add(Pkg.RegistrySpec(url="https://github.com/QEDjl-project/registry.git"));'
- julia --project=. -e 'import Pkg; Pkg.Registry.add(Pkg.RegistrySpec(url="https://github.com/JuliaRegistries/General"));'
- julia --project=. add_QED_dev.jl
- >
if [[ $CI_COMMIT_BRANCH == "main" || $CI_COMMIT_REF_NAME == "main" || $CI_COMMIT_BRANCH == "dev" || $CI_COMMIT_REF_NAME == "dev" ]]; then
# set name of the commit message from CI_COMMIT_MESSAGE to NO_MESSAGE, that the script does not read accidentally custom packages from the commit message of a merge commit
Expand Down
4 changes: 4 additions & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ QEDcore = "35dc0263-cb5f-4c33-a114-1d7f54ab753e"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"

[compat]
Distributions = "0.25"
DocStringExtensions = "0.9"
QEDbase = "0.2.2"
QEDcore = "0.1"
julia = "1.6"

[extras]
Expand Down
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,22 +12,12 @@ To install the current stable version of `QEDevents.jl` you may use the standard
```julia
julia> using Pkg

# add local registry, where QEDevents is registered
julia> Pkg.Registry.add(Pkg.RegistrySpec(url="https://github.com/QEDjl-project/registry"))
# add general registry again to have it join the local registry
julia> Pkg.Registry.add(Pkg.RegistrySpec(url="https://github.com/JuliaRegistries/General"))

julia> Pkg.add("QEDevents")
```

or you use the Pkg prompt by hitting `]` within the Julia REPL and then type

```julia
# add local registry, where QEDevents is registered
(@v1.10) pkg> registry add https://github.com/QEDjl-project/registry
# add general registry again to have it join the local registry
(@v1.10) pkg> registry add https://github.com/JuliaRegistries/General

(@v1.10) pkg> add QEDevents
```

Expand Down
8 changes: 0 additions & 8 deletions add_QED_dev.jl

This file was deleted.

2 changes: 0 additions & 2 deletions src/QEDevents.jl
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,4 @@ include("interfaces/single_particle_distribution.jl")
include("interfaces/multi_particle_distribution.jl")
include("interfaces/process_distribution.jl")

include("patch_QEDbase.jl")

end
6 changes: 0 additions & 6 deletions src/patch_QEDbase.jl

This file was deleted.

0 comments on commit 661ce60

Please sign in to comment.