Skip to content
This repository has been archived by the owner on Nov 24, 2020. It is now read-only.

Commit

Permalink
Don't try to using packages with no src folder, close #68
Browse files Browse the repository at this point in the history
  • Loading branch information
IainNZ committed Sep 16, 2014
1 parent 9580883 commit 2083f54
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/package.jl
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,10 @@ function checkTesting(features, pkg_path, pkg_name, usetimeout)
# Create a simple test file
fp = open("testusing.jl","w")
write(fp, "versioninfo()\n")
write(fp, "using $pkg_name")
# Hack: JLDArchives doesn't have a src/ folder - but does have useful tests to
# be run by PkgEval. So we'll do-nothing for that package and any others like
# it by checking if their src/ folder exists
isdir(joinpath(pkg_path,"src")) && write(fp, "using $pkg_name")
close(fp)
# Create a file to hold output
log_name = "$(pkg_name)_using.log"
Expand Down

0 comments on commit 2083f54

Please sign in to comment.