Skip to content

Commit

Permalink
Use JLL package (#14)
Browse files Browse the repository at this point in the history
* Use JLL package

* Bump version

* Bump CI

* Drop Cirrus

* Remove Libdl dep

* Update CI

* Update CI
  • Loading branch information
helgee authored Aug 3, 2020
1 parent e2529fa commit 5631c85
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 80 deletions.
17 changes: 0 additions & 17 deletions .cirrus.yml

This file was deleted.

7 changes: 4 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ language: julia
os:
- linux
- osx
- freebsd
julia:
- 1.0
- 1.1
- 1
- 1.3
- nightly
matrix:
allow_failures:
Expand All @@ -22,7 +23,7 @@ after_success:
jobs:
include:
- stage: "Documentation"
julia: 1.0
julia: 1
os: linux
script:
- julia --project=docs/ -e 'using Pkg; Pkg.develop(PackageSpec(path=pwd())); Pkg.build("SPICE"); Pkg.instantiate()'
Expand Down
8 changes: 4 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name = "SPICE"
uuid = "5bab7191-041a-5c2e-a744-024b9c3a5062"
version = "0.1.1"
version = "0.2.0"

[deps]
BinaryProvider = "b99e7846-7c00-51b0-8f62-c81ae34c0232"
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
CSPICE_jll = "07f52509-e9d9-513c-a20d-3b911885bf96"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"

[compat]
julia = "≥ 0.7.0"
CSPICE_jll = "66"
julia = "1.3"

[extras]
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Expand Down
2 changes: 1 addition & 1 deletion appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
environment:
matrix:
- julia_version: 1
- julia_version: 1.1
- julia_version: 1.3
- julia_version: nightly

platform:
Expand Down
48 changes: 0 additions & 48 deletions deps/build.jl

This file was deleted.

9 changes: 2 additions & 7 deletions src/SPICE.jl
Original file line number Diff line number Diff line change
@@ -1,13 +1,8 @@
module SPICE

export SpiceError
using CSPICE_jll

deps = abspath(joinpath(splitdir(@__FILE__)[1], "..", "deps", "deps.jl"))
if isfile(deps)
include(deps)
else
error("libcspice was not found. Please run 'Pkg.build(\"SPICE\").")
end
export SpiceError

function __init__()
# Set error handling to return on error
Expand Down

2 comments on commit 5631c85

@helgee
Copy link
Member Author

@helgee helgee commented on 5631c85 Aug 3, 2020

Choose a reason for hiding this comment

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

@JuliaRegistrator register

@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/18878

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.0 -m "<description of version>" 5631c854aaf5fbcf7006b226019b277afbd676e8
git push origin v0.2.0

Please sign in to comment.