2017-08-10 17:13:01 +00:00
|
|
|
using PkgTemplates
|
2018-09-19 19:19:16 +00:00
|
|
|
using Test
|
|
|
|
using Dates
|
|
|
|
using LibGit2
|
2018-10-22 18:04:26 +00:00
|
|
|
using Pkg
|
2017-08-10 17:13:01 +00:00
|
|
|
|
2017-08-14 20:58:14 +00:00
|
|
|
import PkgTemplates: badges, version_floor, substitute, read_license, gen_file, gen_readme,
|
2018-09-24 22:15:52 +00:00
|
|
|
gen_tests, gen_license, gen_require, gen_gitignore, gen_plugin, show_license, LICENSES,
|
|
|
|
LICENSE_DIR, Plugin, GenericPlugin, CustomPlugin, Badge, format, interactive,
|
2018-11-02 22:23:40 +00:00
|
|
|
DEFAULTS_DIR, Documenter
|
2017-08-14 20:58:14 +00:00
|
|
|
|
2017-08-14 18:13:26 +00:00
|
|
|
mktempdir() do temp_dir
|
2018-09-19 19:19:16 +00:00
|
|
|
mkdir(joinpath(temp_dir, "dev"))
|
|
|
|
pushfirst!(DEPOT_PATH, temp_dir)
|
|
|
|
cd(temp_dir) do
|
|
|
|
@testset "PkgTemplates.jl" begin
|
|
|
|
include("tests.jl")
|
2017-08-14 18:13:26 +00:00
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|