Skip to content

Commit

Permalink
Separate Project.toml for building, remove build dependencies from ru…
Browse files Browse the repository at this point in the history
…ntime dependency list.
  • Loading branch information
tkoolen committed May 13, 2019
1 parent 2e63914 commit 0965de6
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 9 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
deps/*
!deps/build.jl
!deps/Project.toml
/Manifest.toml

4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,6 @@ matrix:
allow_failures:
- julia: nightly
after_success:
- julia --project -e 'import Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
- if [[ $TRAVIS_JULIA_VERSION = 1.1 ]]; then
julia --project -e 'using Pkg; pkg"add Coverage"; using Coverage; Codecov.submit(Codecov.process_folder())';
fi
10 changes: 3 additions & 7 deletions Project.toml
Original file line number Diff line number Diff line change
@@ -1,21 +1,17 @@
name = "LCMCore"
uuid = "0ea44823-1ff1-5b9a-8293-5fd55a38e746"
version = "0.6.0"

[deps]
BinDeps = "9e28174c-4ba2-5203-b857-d8d62c4213ee"
CMakeWrapper = "d5fb7624-851a-54ee-a528-d3f3bac0b4a0"
Dates = "ade2ca70-3891-5945-98fb-dc099432e06a"
FastIOBuffers = "6ccb8d0d-f5f8-5ae0-a392-f5aa62729a81"
FileWatching = "7b1f6079-737a-58dc-b8bc-7a2ca5c1b5ee"
Homebrew = "d9be37ee-ecc9-5288-90f1-b9ca67657a75"
Libdl = "8f399da3-3557-5675-b5ff-fb832c97cbdb"
StaticArrays = "90137ffa-7385-5640-81b9-e52037218182"
UnsafeArrays = "c4a57d5a-5b31-53a6-b365-19f8c011fbd6"

[compat]
BinDeps = "≥ 0.8.0"
CMakeWrapper = "≥ 0.2.0"
FastIOBuffers = "≥ 0.2.0"
Homebrew = "≥ 0.3.0"
StaticArrays = "≥ 0.5.0"
UnsafeArrays = "≥ 0.2.0"
julia = "≥ 0.7.0"
Expand All @@ -27,4 +23,4 @@ Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"

[targets]
test = ["Dates", "Test", "Random", "FileWatching"]
test = ["Dates", "FileWatching", "Test", "Random"]
4 changes: 4 additions & 0 deletions deps/Project.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[deps]
BinDeps = "9e28174c-4ba2-5203-b857-d8d62c4213ee"
CMakeWrapper = "d5fb7624-851a-54ee-a528-d3f3bac0b4a0"
Homebrew = "d9be37ee-ecc9-5288-90f1-b9ca67657a75"
7 changes: 6 additions & 1 deletion deps/build.jl
Original file line number Diff line number Diff line change
@@ -1,6 +1,11 @@
append!(empty!(LOAD_PATH), Base.DEFAULT_LOAD_PATH)
using Pkg

Pkg.activate(@__DIR__)
Pkg.instantiate()

using BinDeps
using CMakeWrapper
using Pkg

@BinDeps.setup

Expand Down

0 comments on commit 0965de6

Please sign in to comment.