Skip to content

Commit 254a9a1

Browse files
committed
Added Project.toml
1 parent f396bfe commit 254a9a1

4 files changed

Lines changed: 53 additions & 11 deletions

File tree

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ git:
2020
# uncomment the following lines to override the default test script
2121
script:
2222
- if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
23-
- julia -e 'if VERSION < v"0.7.0-DEV" ; for n in ("ModuleInterfaceTools", "Format", "StrAPI", "CharSetEncodings"); Pkg.add(n); end ; for n in ("ChrBase", "MurmurHash3", "StrBase", "StrLiterals") ; Pkg.clone("https://github.com/JuliaString/$n.jl") ; end ; Pkg.clone(pwd()); else ; using Pkg ; end ; Pkg.test("StrFormat"; coverage=true)'
23+
- julia -e 'VERSION < v"0.7.0-DEV" || (using Pkg) ; if VERSION < v"0.7.0-DEV.5183" ; for n in ("ModuleInterfaceTools", "Format", "StrAPI", "CharSetEncodings"); Pkg.add(n); end ; for n in ("ChrBase", "MurmurHash3", "StrBase", "StrLiterals") ; Pkg.clone("https://github.com/JuliaString/$n.jl") ; end ; Pkg.clone(pwd()); else ; Pkg.add(pwd()) ; end ; Pkg.test("StrFormat"; coverage=true)'
2424
after_success:
2525
# push coverage results to Coveralls
2626
- julia -e 'VERSION < v"0.7.0-DEV" || (using Pkg); cd(Pkg.dir("StrFormat")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'

Project.toml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
name = "StrFormat"
2+
desc = "Extension for StrLiterals, adds support for C/Python/type-driven formatting"
3+
authors = ["ScottPJones <scottjones@alum.mit.edu>"]
4+
keywords = ["Strings", "Literals", "printf", "Format"]
5+
license = "MIT"
6+
uuid = "a5a47323-cf2a-443b-a747-99a2b29c4966"
7+
repo = "https://github.com/JuliaString/StrFormat.jl.git"
8+
version = "0.1.2"
9+
10+
[deps]
11+
Format = "1fa38f19-a742-5d3f-a2b9-30dd87b9d5f8"
12+
StrLiterals = "627f7b36-cfa1-4420-8f93-de9d4fe56cdc"

README.md

Lines changed: 32 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,37 @@
11
# StrFormat
22

3-
| **Info** | **Package Status** | **Package Evaluator** | **Coverage** |
4-
|:------------------:|:------------------:|:---------------------:|:-----------------:|
5-
| [![License](http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat)](LICENSE.md) | [![Build Status](https://travis-ci.org/JuliaString/StrFormat.jl.svg?branch=master)](https://travis-ci.org/JuliaString/StrFormat.jl) | [![StrFormat](http://pkg.julialang.org/badges/StrFormat_0.6.svg)](http://pkg.julialang.org/?pkg=StrFormat) | [![Coverage Status](https://coveralls.io/repos/github/JuliaString/StrFormat.jl/badge.svg?branch=master)](https://coveralls.io/github/JuliaString/StrFormat.jl?branch=master)
6-
| [![Gitter Chat](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/JuliaString/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge) | | [![StrFormat](http://pkg.julialang.org/badges/StrFormat_0.7.svg)](http://pkg.julialang.org/?pkg=StrFormat) | [![codecov.io](http://codecov.io/github/JuliaString/StrFormat.jl/coverage.svg?branch=master)](http://codecov.io/github/JuliaString/StrFormat.jl?branch=master)
7-
8-
StrFormat extends the string literals provided by the [StrLiterals](https://github.com/JuliaString/StrLiterals.jl) package.
9-
It uses an extensively modified fork of the [Formatting](https://github.com/JuliaIO/Formatting.jl) package to provide formatting capability, as well as Tom Breloff's [PR #10](https://github.com/JuliaIO/Formatting.jl/pull/10), which provides the capability of using settable printing defaults based on the types of the argument (see [Format](https://github.com/JuliaString/Format.jl).
3+
| **Info** | **Windows** | **Linux & MacOS** | **Package Evaluator** | **CodeCov** | **Coveralls** |
4+
|:------------------:|:------------------:|:---------------------:|:-----------------:|:---------------------:|:-----------------:|
5+
| [![][license-img]][license-url] | [![][app-s-img]][app-s-url] | [![][travis-s-img]][travis-url] | [![][pkg-s-img]][pkg-s-url] | [![][codecov-img]][codecov-url] | [![][coverall-s-img]][coverall-s-url]
6+
| [![][gitter-img]][gitter-url] | [![][app-m-img]][app-m-url] | [![][travis-m-img]][travis-url] | [![][pkg-m-img]][pkg-m-url] | [![][codecov-img]][codecov-url] | [![][coverall-m-img]][coverall-m-url]
7+
8+
[license-img]: http://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat
9+
[license-url]: LICENSE.md
10+
11+
[gitter-img]: https://badges.gitter.im/Join%20Chat.svg
12+
[gitter-url]: https://gitter.im/JuliaString/Lobby?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge
13+
14+
[travis-url]: https://travis-ci.org/JuliaString/StrFormat.jl
15+
[travis-s-img]: https://travis-ci.org/JuliaString/StrFormat.jl.svg
16+
[travis-m-img]: https://travis-ci.org/JuliaString/StrFormat.jl.svg?branch=master
17+
18+
[app-s-url]: https://ci.appveyor.com/project/ScottPJones/strformat-jl
19+
[app-m-url]: https://ci.appveyor.com/project/ScottPJones/strformat-jl/branch/master
20+
[app-s-img]: https://ci.appveyor.com/api/projects/status/r3c2alh3jfcmu2gc?svg=true
21+
[app-m-img]: https://ci.appveyor.com/api/projects/status/r3c2alh3jfcmu2gc/branch/master?svg=true
22+
23+
[pkg-s-url]: http://pkg.julialang.org/detail/StrFormat
24+
[pkg-m-url]: http://pkg.julialang.org/detail/StrFormat
25+
[pkg-s-img]: http://pkg.julialang.org/badges/StrFormat_0.6.svg
26+
[pkg-m-img]: http://pkg.julialang.org/badges/StrFormat_0.7.svg
27+
28+
[codecov-url]: https://codecov.io/gh/JuliaString/StrFormat.jl
29+
[codecov-img]: https://codecov.io/gh/JuliaString/StrFormat.jl/branch/master/graph/badge.svg
30+
31+
[coverall-s-url]: https://coveralls.io/github/JuliaString/StrFormat.jl
32+
[coverall-m-url]: https://coveralls.io/github/JuliaString/StrFormat.jl?branch=master
33+
[coverall-s-img]: https://coveralls.io/repos/github/JuliaString/StrFormat.jl/badge.svg
34+
[coverall-m-img]: https://coveralls.io/repos/github/JuliaString/StrFormat.jl/badge.svg?branch=master
1035

1136
The following extra format sequences (see [StrLiterals](https://github.com/JuliaString/StrLiterals.jl) for the full specification) are added:
1237

appveyor.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,13 @@ install:
4040
build_script:
4141
# Need to convert from shallow to complete for Pkg.clone to work
4242
- IF EXIST .git\shallow (git fetch --unshallow)
43-
- C:\projects\julia\bin\julia -e "versioninfo();
44-
Pkg.clone(pwd(), \"StrFormat\")
43+
- C:\projects\julia\bin\julia -e "VERSION < v\"0.7.0-DEV\" || (using Pkg,InteractiveUtils); versioninfo(); pkg = \"StrFormat\";
44+
if VERSION < v\"0.7.0-DEV.5183\";
45+
Pkg.add(\"Format\");
46+
Pkg.clone(pwd(), pkg);
47+
else;
48+
Pkg.add(pwd(), pkg);
49+
end"
4550

4651
test_script:
47-
- C:\projects\julia\bin\julia -e "Pkg.test(\"StrFormat\")"
52+
- C:\projects\julia\bin\julia -e "VERSION < v\"0.7.0-DEV\" || (using Pkg); Pkg.test(\"StrFormat\")"

0 commit comments

Comments
 (0)