Skip to content

Commit

Permalink
limit to adding specific branch on all supported packages
Browse files Browse the repository at this point in the history
  • Loading branch information
rejuvyesh committed Sep 11, 2018
1 parent b711c4e commit 6ad87bd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/constants.jl
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,5 @@ const EXPORTED_TYPES = [MDP,
Solver,
Updater,
Union{MDP, POMDP}]

const BRANCH06 = "0.6-version"
3 changes: 2 additions & 1 deletion src/utils.jl
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ function add(solver_name::AbstractString, v::Bool=true)
else
try
Pkg.clone(full_url)
Pkg.checkout(solver_name, BRANCH06)
Pkg.build(solver_name)
catch ex
if isa(ex, Base.Pkg.PkgError) && ex.msg == "$solver_name already exists"
Expand Down Expand Up @@ -75,7 +76,7 @@ function update()
for p in SUPPORTED_PACKAGES
# check if package is intalled
if isdir(Pkg.dir(p))
Pkg.checkout(p)
Pkg.checkout(p, BRANCH06)
end
end
end
Expand Down

0 comments on commit 6ad87bd

Please sign in to comment.