Commit graph

361 commits

Author SHA1 Message Date
Ómar Kjartan Yasin
0c1636e75a Fix script so it can compile git-versioned
rebar3 variables as that is the way these versions
can look when updated using
`rebar3 local upgrade`.
2016-03-10 10:46:39 -08:00
Tristan Sloughter
8a325c0291 Merge pull request #99 from ericmj/patch-1
Support non rebar tools evaluating script
2015-12-02 15:47:08 -06:00
Eric Meadows-Jönsson
b84eed3634 Support non rebar tools evaluating script 2015-12-02 22:42:25 +01:00
Jordan Wilberding
0a4d2811f1 Merge pull request #98 from tsloughter/cf_fix
fix colorizing when not bold, type of fase for false
2015-11-21 13:59:50 -08:00
Tristan Sloughter
906a32e6c3 correct hex metadata to maintainers for contributors 2015-11-21 15:25:33 -06:00
Tristan Sloughter
60eb82aed5 fix colorizing when not bold, type of fase for false 2015-11-21 15:23:06 -06:00
Jordan Wilberding
05f062d23d Merge pull request #96 from tsloughter/rebar2_support
add rebar.config.script to fall back to rebar2 style deps if using rebar2
2015-11-03 20:05:53 -08:00
Tristan Sloughter
5ef37420b6 Merge pull request #97 from budzejko/master
fix DOWN messages from external sources issue
2015-11-02 14:32:59 -06:00
Jacek Budzejko
2240decb95 fix DOWN messages from external sources issue 2015-11-02 21:05:58 +01:00
Tristan Sloughter
505d35996d add rebar.config.script to fall back to rebar2 style deps if using rebar2 2015-11-02 09:46:25 -06:00
Tristan Sloughter
8c1b1133de Merge pull request #92 from project-fifo/cf-colouring
Update cmd_log to use cf for color encoding, including term detection
2015-10-31 17:38:36 -05:00
Tristan Sloughter
a4ed7d683e Merge pull request #93 from project-fifo/travis-update
Update to new travis infrastructure
2015-10-31 17:38:29 -05:00
Heinz N. Gies
74cc980f94 Update to new travis infrastructure 2015-10-31 23:31:50 +01:00
Heinz N. Gies
ad3eed2cd5 I'm done with R15 2015-10-31 23:27:25 +01:00
Heinz N. Gies
d7af2ecdfe Fix eunit typo 2015-10-31 23:23:30 +01:00
Heinz N. Gies
056377c2d8 Add R15 back in, run eunit instead of ct and use old rebar3 2015-10-31 23:17:20 +01:00
Heinz N. Gies
453922a6ed Bye bye R15 2015-10-31 23:11:19 +01:00
Heinz N. Gies
f7650e843d Bump travis R15 version to 03 2015-10-31 22:54:59 +01:00
Heinz N. Gies
28dd4e812e Add more debugs 2015-10-31 22:30:48 +01:00
Heinz N. Gies
19df1c0750 Add debug 2015-10-31 21:48:59 +01:00
Heinz N. Gies
0583ffa672 Update rebar3 2015-10-31 21:09:26 +01:00
Heinz N. Gies
f983b1ac85 Update cmd_log to use cf for color encoding, including term detection 2015-10-31 18:03:30 +01:00
Tristan Sloughter
95a8e3c32d Merge pull request #91 from project-fifo/less-colours
Alow less colourful output
2015-10-31 10:18:41 -05:00
Heinz N. Gies
4aedc36937 Add rebar3 update to test run 2015-09-24 19:58:24 +02:00
Heinz N. Gies
87c76aeb2a Alow less colourful output
Basically this adds a new/3 with a third argument of intensity.
The default (and by that the behaviour of new/1 and /2) remain
unchanged so existing code isn't affected.

If intenisty is set to `low` (instead of `high`) then only the
prefix is coloured making the whole output less colourful and
for some cases easyer to read.
2015-09-23 20:41:15 +02:00
Jordan Wilberding
49bc69e35a Merge pull request #89 from tsloughter/git_v_option
Git v option
2015-09-19 14:19:34 -07:00
Tristan Sloughter
3608a576fb version bump to 0.16.0 2015-09-19 13:08:11 -05:00
Tristan Sloughter
7c37ecf949 make v optional as prefix to version in git_vsn 2015-09-19 13:08:11 -05:00
Tristan Sloughter
26c600922e Merge pull request #88 from ericbmerritt/r18-support
R18 support
2015-09-07 12:59:05 -05:00
Eric Merritt
29c711bc39 remove ec_git_vsn_test
This test only had one test that dependended entirely on the
state of *this* git repository. Tests shouldn't depend on external
unmanaged state not changing.
2015-09-07 10:53:36 -07:00
Eric Merritt
739a9bcf24 Swap DEV_ONLY for TEST in the test exclusion macros 2015-09-07 10:45:58 -07:00
Eric Merritt
fbf7f7951c Add R18 (18.0) to the list of travis builds 2015-09-04 10:52:58 -07:00
Eric Merritt
885a516f03 remove proper as a testing tool from the package
PropEr has a problematic license and that makes it unusable.
Historically, there was some ideas that it was going to change but it
never did.
2015-09-04 10:48:21 -07:00
Jordan Wilberding
83adceaa1a Merge pull request #85 from tsloughter/master
version bump
2015-07-12 09:27:22 -07:00
Tristan Sloughter
6813d5184c version bump 2015-07-12 11:10:27 -05:00
Tristan Sloughter
3c69ca001c Merge pull request #84 from joedevivo/master
Made grep version command's grep POSIX
2015-07-12 11:07:35 -05:00
Joe DeVivo
381189c006 Made grep version command's grep POSIX 2015-07-12 07:31:08 -07:00
Tristan Sloughter
e56c73c940 Merge pull request #83 from joedevivo/master
Made version prefix configurable in ec_git_vsn
2015-07-10 12:02:54 -05:00
Joe DeVivo
2d634c5e46 Made version prefix configurable in ec_git_vsn 2015-07-10 09:37:21 -07:00
Jordan Wilberding
cbe494b1cb Merge pull request #82 from tsloughter/rebar3
move to rebar3 and bump version
2015-06-22 15:32:34 -07:00
Tristan Sloughter
d726ba2742 move to rebar3 and bump version 2015-06-22 17:06:50 -05:00
Jordan Wilberding
2e23e43079 Merge pull request #81 from tsloughter/master
fix conversion of ask/2 string
2015-06-01 11:15:41 -07:00
Tristan Sloughter
4c20e1903d fix conversion of ask/2 string 2015-05-31 12:04:54 -05:00
Jordan Wilberding
ef0d252b11 Merge pull request #79 from tsloughter/master
18.0 Support
2015-04-23 16:16:34 -07:00
Tristan Sloughter
7015ba2951 remove use of deprecated function erlang:now/0 2015-04-23 17:56:56 -05:00
Tristan Sloughter
e07d08333a use #atom{} syntax to support 18 2015-04-23 17:49:34 -05:00
Eric Merritt
05b956da26 Merge pull request #78 from jlouis/query-terminal
Introduce simple, preliminary TERM capability query.
2015-02-12 10:09:57 -08:00
Jesper Louis Andersen
aa373dddbe Introduce simple, preliminary TERM capability query.
When erlware_commons logs to the command_line, it assumes the
environment has common modern capabilities and color display. In
general, this is not the case and then color codes are sent verbatim
to the terminal.

This patch introduces a new field in #state_t{}, term_cap, encoding
if the terminal runs with 'full' or 'dumb' capabilities. In the latter case,
color display is suppressed. Initialization of the #state_t{} record queries
the environment once for the TERM variable in order to figure out what
it supports. The default is 'full' capability to be fully backwards compatible.
2015-02-11 17:10:16 +01:00
Jesper Louis Andersen
6079300634 Refactor: fold colorize_/3 into colorize/4.
Fold a local one-line leaf function with exactly one call-site into its caller.
2015-02-11 17:05:33 +01:00
Eric Merritt
02ab88513f Merge pull request #75 from muxspace/master
Support Twitter-style timestamps
2014-12-10 15:31:46 -08:00