PkgTemplates.jl/test/runtests.jl

16 lines
471 B
Julia
Raw Normal View History

2017-08-10 17:13:01 +00:00
using PkgTemplates
using Base.Test
2017-08-14 20:58:14 +00:00
import PkgTemplates: badges, version_floor, substitute, read_license, gen_file, gen_readme,
gen_tests, gen_license, gen_require, gen_entrypoint, gen_gitignore, gen_plugin,
2017-08-18 04:06:33 +00:00
show_license, LICENSES, LICENSE_DIR, Plugin, GenericPlugin, CustomPlugin, Badge, format
2017-08-14 20:58:14 +00:00
2017-08-14 18:13:26 +00:00
mktempdir() do temp_dir
withenv("JULIA_PKGDIR" => temp_dir) do
Pkg.init()
cd(temp_dir) do
include("tests.jl")
end
end
end