Skip to content

Commit e391ead

Browse files
committed
Update REQUIRE and use Pkg3 on v0.7
1 parent 76991ae commit e391ead

File tree

3 files changed

+7
-10
lines changed

3 files changed

+7
-10
lines changed

REQUIRE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
julia 0.6
2-
ModuleInterfaceTools
2+
ModuleInterfaceTools 0.1.2
33

appveyor.yml

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -41,14 +41,9 @@ build_script:
4141
# Need to convert from shallow to complete for Pkg.clone to work
4242
- IF EXIST .git\shallow (git fetch --unshallow)
4343
- C:\projects\julia\bin\julia -e "VERSION < v\"0.7.0-DEV\" || (using InteractiveUtils);
44-
versioninfo(); loc = \"https://github.com/JuliaString\"; mit = \"ModuleInterfaceTools.jl\";
45-
if VERSION < v\"0.7.0-DEV.5183\";
46-
Pkg.clone(\"$loc/$mit\");
47-
Pkg.clone(pwd(),\"StrAPI\");
48-
else;
49-
using Pkg;
50-
Pkg.add(\"$loc/$mit\");
51-
end"
44+
versioninfo();
45+
if VERSION < v\"0.7.0-DEV.5183\"; Pkg.clone(pwd(),\"StrAPI\");
46+
else; using Pkg; Pkg.up(); end"
5247

5348
test_script:
54-
- C:\projects\julia\bin\julia -e "Pkg.test(\"StrAPI\")"
49+
- C:\projects\julia\bin\julia -e "VERSION < v\"0.7.0-DEV\" || (using Pkg); Pkg.test(\"StrAPI\")"

test/runtests.jl

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,8 @@
22

33
using ModuleInterfaceTools
44

5+
@static V6_COMPAT || (using Pkg)
6+
57
@api test StrAPI
68

79
@test is_ascii == isascii

0 commit comments

Comments
 (0)