Skip to content

Commit

Permalink
Make changes to release 3.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
agauniyal committed Feb 14, 2018
1 parent 8bf82d5 commit 4950559
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 11 deletions.
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ dist: trusty
sudo: false
group: travis_latest
language: c++
cache: ccache

env:
global:
Expand Down
12 changes: 5 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,16 +39,12 @@ Installation

Or, if you use the [conan package manager](https://www.conan.io/), follow these steps:

1. Add *rang* to the conan remotes:

conan remote add rang https://api.bintray.com/conan/agauniyal/rang

2. Add a reference to *rang* to the *requires* section of your project's `conanfile.txt` file:
1. Add a reference to *rang* to the *requires* section of your project's `conanfile.txt` file:

[requires]
rang/3.0.0@rang/stable
rang/3.1.0@rang/stable

3. Run conan's install command:
2. Run conan's install command:

conan install

Expand All @@ -57,6 +53,8 @@ Or, if you use the [conan package manager](https://www.conan.io/), follow these

*Rang* uses iostream objects - `cout`/`clog`/`cerr` to apply attributes to output text. Since *rang* aims to support both windows and unix like systems, it takes care of the os specific details and tries to provide a uniform interface. Due to incompatiblities b/w different OS versions, not all kinds of attributes are supported on every system so rang will try to skip the ones which might produce garbage(instead of pushing random ANSI escape codes on your streams). Detection of tty is also handled internally so you don't need to check if application user might redirect output to a file.

> **Need support for non-ansi terminals? Check out [Termdb](https://github.com/agauniyal/termdb) which supports virtually all terminals and their capablities.**
Apart from setting text attributes, you can also ask rang to override its default behaviour through these methods -
```cpp
void rang::setControlMode(rang::control);
Expand Down
2 changes: 1 addition & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

class RangConan(ConanFile):
name = "rang"
version = "3.0.0"
version = "3.1.0"
license = "The Unlicense"
url = "https://github.com/agauniyal/rang"
description = "A Minimal, Header only Modern c++ library for colors in your terminal"
Expand Down
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project('rang', 'cpp', version : '3.0',
project('rang', 'cpp', version : '3.1.0',
default_options : ['cpp_std=c++11'])

inc = include_directories('include')
Expand Down
2 changes: 1 addition & 1 deletion test_package/meson.build
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
project('rang', 'cpp', version : '3.0',
project('rang', 'cpp', version : '3.1.0',
default_options : ['cpp_std=c++11'])

inc = include_directories('include')
Expand Down

0 comments on commit 4950559

Please sign in to comment.