Skip to content

Commit

Permalink
New build system. (#21)
Browse files Browse the repository at this point in the history
* New build system.

* Fixed comments by @visr.
  • Loading branch information
evetion authored May 25, 2020
1 parent 5e8c163 commit 69f1a09
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 62 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ os:
- osx

julia:
- 1.0
- 1.3
- 1
- nightly

Expand Down
7 changes: 3 additions & 4 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,26 +1,25 @@
name = "LazIO"
uuid = "c3605908-9f0f-11e8-0a72-0d361c15a277"
authors = ["Maarten Pronk <[email protected]>"]
version = "0.1.4"
version = "0.2.0"

[deps]
BinaryProvider = "b99e7846-7c00-51b0-8f62-c81ae34c0232"
FileIO = "5789e2e9-d7fb-5bc7-8068-2c6fae9b9549"
FixedPointNumbers = "53c48c17-4a7d-5ca2-90c5-79b7896eea93"
LASzip_jll = "8372b9c3-1e34-5cc3-bfab-1a98e101de11"
LasIO = "570499db-eae3-5eb6-bdd5-a5326f375e68"
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
Parameters = "d96e819e-fc66-5662-9728-84c9c7592b0a"
Tables = "bd369af6-aec1-5ad0-b16a-f7cc5008161c"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[compat]
BinaryProvider = "0.5"
FileIO = "1.2"
FixedPointNumbers = "0.5, 0.6, 0.7, 0.8"
LasIO = "0.3"
Parameters = "0.12"
Tables = "0.2, 1.0"
julia = "1.0"
julia = "1.3"

[extras]
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
Expand Down
14 changes: 4 additions & 10 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
environment:
matrix:
- julia_version: 1.0
- julia_version: 1
- julia_version: nightly
- julia_version: 1.3
- julia_version: 1
- julia_version: nightly

platform:
- x64
- x86

matrix:
allow_failures:
- julia_version: nightly
- julia_version: nightly

branches:
only:
Expand All @@ -33,9 +33,3 @@ build_script:
test_script:
- echo "%JL_TEST_SCRIPT%"
- C:\julia\bin\julia -e "%JL_TEST_SCRIPT%"

# # Uncomment to support code coverage upload. Should only be enabled for packages
# # which would have coverage gaps without running on Windows
# on_success:
# - echo "%JL_CODECOV_SCRIPT%"
# - C:\julia\bin\julia -e "%JL_CODECOV_SCRIPT%"
38 changes: 0 additions & 38 deletions deps/build.jl

This file was deleted.

10 changes: 1 addition & 9 deletions src/LazIO.jl
Original file line number Diff line number Diff line change
Expand Up @@ -4,18 +4,10 @@ using Libdl
using FileIO
using LasIO
using FixedPointNumbers

# Load in `deps.jl`, complaining if it does not exist
const depsjl_path = joinpath(dirname(@__FILE__), "..", "deps", "deps.jl")
if !isfile(depsjl_path)
error("LazIO not installed properly, run Pkg.build(\"LazIO\"), restart Julia and try again")
end
include(depsjl_path)
using LASzip_jll

# Module initialization function
function __init__()
# Always check your dependencies from `deps.jl`
check_deps()
# temporary _ until LasIO defers this key
add_format(format"LAZ_", (), ".laz", [:LazIO])
end
Expand Down

2 comments on commit 69f1a09

@evetion
Copy link
Owner Author

Choose a reason for hiding this comment

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

@JuliaRegistrator register

Release notes:

  • New Ygdrassil build system
  • Updated to LASzip 3.4.3

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

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>" 69f1a09a7109c33ca48cd65c15f96cb34bfbf3d5
git push origin v0.2.0

Please sign in to comment.