Commit graph

3081 commits

Author SHA1 Message Date
bors[bot]
4c3b965305
Merge #1814
1814: Add test for suboptimal flag suggestion r=pksunkara a=pickfire



Co-authored-by: Ivan Tham <pickfire@riseup.net>
2020-04-12 16:38:17 +00:00
Ivan Tham
22ed69e857 Add test for suboptimal flag suggestion
Fix #1073
2020-04-12 23:44:48 +08:00
Pavan Kumar Sunkara
3bb8389c73 Enable ansi support for windows before refactoring 2020-04-12 10:20:08 +02:00
bors[bot]
7788268d37
Merge #1810
1810: Remove {n} support r=CreepySkeleton a=pksunkara



Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
2020-04-12 03:06:55 +00:00
Pavan Kumar Sunkara
333b993481 Remove {n} support 2020-04-12 03:37:21 +02:00
bors[bot]
1e6d366d58
Merge #1808
1808: Exclude clap_derive from coverage r=pksunkara a=CreepySkeleton



Co-authored-by: CreepySkeleton <creepy-skeleton@yandex.ru>
2020-04-11 17:11:04 +00:00
CreepySkeleton
fc893696aa Add timeout to tarpaulin 2020-04-11 19:25:53 +03:00
bors[bot]
874fbcf807
Merge #1736
1736: WIP: get rig of pub doc(hidden) r=pksunkara a=CreepySkeleton



Co-authored-by: CreepySkeleton <creepy-skeleton@yandex.ru>
2020-04-11 16:23:47 +00:00
CreepySkeleton
7cff206194 Make all fields of App & Arg pub(crate) 2020-04-11 18:23:20 +03:00
bors[bot]
9060e3e563
Merge #1804
1804: Don't run actions on some events r=CreepySkeleton a=pksunkara



Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
2020-04-10 18:09:53 +00:00
Pavan Kumar Sunkara
510f4cc055
Don't run actions on some events
push(master) is not run because they would be run on staging anyway.

pull_request(staging, trying) are not run because pull requests shouldn't be made to them
2020-04-10 19:50:12 +02:00
bors[bot]
3b16d812b6
Merge #1747
1747: Fixing coverage test r=CreepySkeleton a=pksunkara



Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
2020-04-10 16:30:37 +00:00
Pavan Kumar Sunkara
b45746feff Remove some defaults from profiles 2020-04-10 17:19:26 +02:00
Pavan Kumar Sunkara
bf65ef3b45 Remove no-default-features test since it's not working 2020-04-10 17:19:26 +02:00
Pavan Kumar Sunkara
9388a099ef Improvements to github actions 2020-04-10 17:19:26 +02:00
Pavan Kumar Sunkara
2385ff8621 Coverage is now working 2020-04-10 15:26:41 +02:00
Pavan Kumar Sunkara
cceb29623a Remove nightly feature 2020-04-10 10:42:25 +02:00
bors[bot]
20a7418729
Merge #1802
1802: Few ports from v2 r=CreepySkeleton a=pksunkara



Co-authored-by: Bence Kalmar <bkalmar1996@gmail.com>
Co-authored-by: Ivan Veselov <veselov@gmail.com>
Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
2020-04-10 08:16:21 +00:00
Pavan Kumar Sunkara
9376eb5095 Verbose release profile tests 2020-04-10 09:49:18 +02:00
Bence Kalmar
4bf3f97d28 fix(arg_enum!): Invalid expansions of some trailing-comma patterns
In particular, fix macros that take an enum of one of the the following forms:

 - `#[...] enum { ... , }`
 - `pub enum { ... , }`
 - `enum { ... , }`

Previously, these expansions would result in an error message like "error: no
rules expected the token `:`".

Add extensive tests for each pattern.  Only two of the patterns had tests
before, so these errors did not surface automatically.
2020-04-10 09:35:20 +02:00
Ivan Veselov
0f3bdc439e Fix ArgMatcher consuming extra arguments when max_values is set 2020-04-10 09:35:20 +02:00
bors[bot]
f4f5200eff
Merge #1797
1797: debug_assertion validations r=CreepySkeleton a=pksunkara



Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
2020-04-10 01:35:44 +00:00
Pavan Kumar Sunkara
15edb69a0d Address review comments 2020-04-10 00:33:16 +02:00
Pavan Kumar Sunkara
f0a216036b Fix some issues 2020-04-09 19:41:33 +02:00
Pavan Kumar Sunkara
92449a4777 Assert arg groups 2020-04-09 16:51:32 +02:00
Pavan Kumar Sunkara
00a0b9660a Assert for require* on args 2020-04-09 16:51:32 +02:00
Pavan Kumar Sunkara
f632aedc72 Started on arg asserts 2020-04-09 16:51:32 +02:00
Pavan Kumar Sunkara
1c16f73c10 Start cleaning up debug_assertion validations 2020-04-09 16:51:32 +02:00
bors[bot]
89a47640c6
Merge #1795
1795: Remove extern crate from README r=pksunkara a=pickfire



Co-authored-by: Ivan Tham <pickfire@riseup.net>
2020-04-08 20:27:32 +00:00
Ivan Tham
54f58e180e Remove extern crate from README 2020-04-08 21:26:32 +08:00
bors[bot]
20daf00d51
Merge #1785
1785: Update the documentation regarding which features are enabled by default r=pksunkara a=stepchowfun



Co-authored-by: Stephan Boyer <stephan.boyer@airbnb.com>
2020-04-05 10:43:12 +00:00
Stephan Boyer
606d120d18 Update the documentation regarding which features are enabled by default 2020-04-04 13:16:30 -07:00
bors[bot]
2dffb93fe6
Merge #1779
1779: Fix value_t documentation r=pksunkara a=AimainaHito



Co-authored-by: AimainaHito <AimainaHito@users.noreply.github.com>
2020-04-04 15:31:24 +00:00
AimainaHito
06b9b32d66 Added full-stop 2020-04-04 11:30:30 +02:00
AimainaHito
f472393b14 Updated value_t documentation 2020-04-03 20:32:36 +02:00
bors[bot]
4b5d7722bf
Merge #1778
1778: set the default disp_ord of App to 999.  r=pksunkara a=pmarks



Co-authored-by: Patrick Marks <pmarks@gmail.com>
2020-04-02 14:16:12 +00:00
Patrick Marks
84214887b9 fix formatting 2020-04-02 06:48:01 -07:00
Patrick Marks
bbdbcbf8e1 add unit tests 2020-04-01 21:35:48 -07:00
bors[bot]
b63c4ea03f
Merge #1774
1774: Moved to github discussions r=CreepySkeleton a=pksunkara



Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
2020-04-01 21:45:32 +00:00
Pavan Kumar Sunkara
b77f159315 Moved to github discussions 2020-04-01 22:32:51 +02:00
Patrick Marks
4321cba5ba set the default disp_ord of App to 999. Required for display_order and DeriveDisplay to work properly 2020-04-01 12:49:40 -07:00
bors[bot]
633ce74ba9
Merge #1773
1773: style: fix comma placement for valid values when using arg_enum r=pksunkara a=mmatyas



Co-authored-by: Mátyás Mustoha <matyas.mustoha@gmail.com>
2020-04-01 12:30:31 +00:00
Mátyás Mustoha
8687794986 style: fix comma placement for valid values when using arg_enum 2020-04-01 00:01:51 +02:00
bors[bot]
37889c6611
Merge #1769
1769: Advertise gitter chat r=pksunkara a=CreepySkeleton



Co-authored-by: CreepySkeleton <creepy-skeleton@yandex.ru>
2020-03-28 14:39:57 +00:00
CreepySkeleton
77a8271907
Note abot the closed isues 2020-03-28 10:14:05 +03:00
CreepySkeleton
16ffaea58d Advertise gitter chat 2020-03-27 18:00:47 +03:00
bors[bot]
d8434ec925
Merge #1760
1760: remove redundant imports and clone (found by clippy) r=pksunkara a=matthiaskrgr



Co-authored-by: Matthias Krüger <matthias.krueger@famsik.de>
2020-03-25 13:07:40 +00:00
Matthias Krüger
428a075e41 remove redundant imports and clone (found by clippy) 2020-03-25 13:43:01 +01:00
bors[bot]
7a652054dc
Merge #1758
1758: Update README.md r=CreepySkeleton a=justinwalz



Co-authored-by: Justin Walz <justin.walz10@gmail.com>
2020-03-23 08:08:53 +00:00
Justin Walz
dd14f0da74
Update README.md 2020-03-21 17:24:34 -07:00