Commit graph

3368 commits

Author SHA1 Message Date
CreepySkeleton
3b3d2b23fd cargo clippy 2020-04-20 18:32:35 +03:00
CreepySkeleton
bec16ae9e0 Add tests 2020-04-20 18:29:45 +03:00
bors[bot]
286c3e5d25
Merge #1841 #1842
1841: One less giant macro (-0.5 kB) r=pksunkara a=CreepySkeleton



1842: Allow rustc inline small functions across crates (-5.5 kB) r=pksunkara a=CreepySkeleton



Co-authored-by: CreepySkeleton <creepy-skeleton@yandex.ru>
2020-04-20 15:27:55 +00:00
CreepySkeleton
4ce2a02f78 Corectly handle --foo==a (value is =a) 2020-04-20 17:54:56 +03:00
bors[bot]
fe1ce65272
Merge #1843
1843: Improve cache steps in github actions r=CreepySkeleton a=pksunkara



Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
2020-04-20 14:49:48 +00:00
Pavan Kumar Sunkara
9d5de69249 Update Cargo.toml 2020-04-20 16:11:30 +02:00
Pavan Kumar Sunkara
3e45cb26ab Improve cache steps in github actions 2020-04-20 16:11:30 +02:00
CreepySkeleton
4d3760a0b3 Correctly handle -磨FOO 2020-04-20 15:15:28 +03:00
CreepySkeleton
32ffdfe855 Correctly handle -f==a (value is =a) 2020-04-20 13:41:37 +03:00
CreepySkeleton
f149f35da4 Allow rustc inline small functions across crates 2020-04-19 19:02:55 +03:00
CreepySkeleton
fae89db4a0 One less giant macro (-0.5 kB) 2020-04-19 15:42:08 +03:00
bors[bot]
aae96236b2
Merge #1839
1839: Fix README link r=Dylan-DPC a=zxey



Co-authored-by: Richard Hozák <r.hozak@seznam.cz>
2020-04-18 01:55:40 +00:00
Richard Hozák
a3603f20fe
Fix README link
Fixes link pointing to archived version of `clap_generate`.
2020-04-17 22:30:40 +02:00
bors[bot]
e1d83a7880
Merge #1832
1832: fix: Don't print 'OPTIONS' when all options are hidden for short help r=pksunkara a=thedadams



Co-authored-by: Donnie Adams <donald.g.adams@me.com>
2020-04-16 17:12:59 +00:00
Donnie Adams
0584b57f29 fix: Don't print 'OPTIONS' when all options are hidden for short help 2020-04-16 08:21:41 -07:00
David McNeil
247231d1c6 Add ArgPrecedenceOverSubcommand app setting
Signed-off-by: David McNeil <mcneil.david2@gmail.com>
2020-04-16 09:08:39 -05:00
bors[bot]
4c3a7f7998
Merge #1824
1824: Finished color refactor r=CreepySkeleton a=pksunkara



Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
2020-04-16 12:35:50 +00:00
Pavan Kumar Sunkara
070bd50b28 Finished color refactor 2020-04-16 12:51:26 +02:00
bors[bot]
90e5eb6d1a
Merge #1831
1831: Handle publicity properly r=pksunkara a=CreepySkeleton



Co-authored-by: CreepySkeleton <creepy-skeleton@yandex.ru>
2020-04-16 06:36:39 +00:00
bors[bot]
2453560fc1
Merge #1829
1829: Suppress `unused_valiables` lint in non-debug builds r=pksunkara a=CreepySkeleton



Co-authored-by: CreepySkeleton <creepy-skeleton@yandex.ru>
2020-04-16 06:15:34 +00:00
CreepySkeleton
823332e919 Handle publicity properly 2020-04-16 08:29:16 +03:00
CreepySkeleton
8d01bce5df Use ref instead of move 2020-04-16 04:52:02 +03:00
CreepySkeleton
f931c3d1e4 Suppress unused_valiables lint in non-debug builds 2020-04-16 04:32:17 +03:00
bors[bot]
d210b9fced
Merge #1821
1821: Make debug output show names of args along with hashes r=pksunkara a=CreepySkeleton



Co-authored-by: CreepySkeleton <creepy-skeleton@yandex.ru>
2020-04-14 21:16:52 +00:00
CreepySkeleton
00f2a82c3e Make debug output much more useful 2020-04-14 07:21:27 +03:00
bors[bot]
132cc5f396
Merge #1819
1819: Remove almost all #[doc(hidden)] r=pksunkara a=CreepySkeleton



Co-authored-by: CreepySkeleton <creepy-skeleton@yandex.ru>
2020-04-14 02:02:40 +00:00
CreepySkeleton
fdaf927384 Remove almost all #[doc(hidden)] 2020-04-14 04:26:12 +03:00
bors[bot]
5703ec2278
Merge #1817
1817: Benchmark annotations r=CreepySkeleton a=pksunkara



Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
2020-04-13 20:44:48 +00:00
Pavan Kumar Sunkara
ee4383f2dc Testing benchmark annotations 2020-04-13 16:21:02 +02:00
bors[bot]
500f34a8f6
Merge #1811
1811: Replace value_t*! macros with methods r=pksunkara a=CreepySkeleton



Co-authored-by: CreepySkeleton <creepy-skeleton@yandex.ru>
2020-04-13 07:49:00 +00:00
CreepySkeleton
ecd60b69a3 Fix tests 2020-04-13 04:44:13 +03:00
CreepySkeleton
af95c2b6a4 Replace value_t*! macros with methods 2020-04-13 04:20:09 +03:00
bors[bot]
606cf71c96
Merge #1816
1816: Update .travis.yml r=CreepySkeleton a=pksunkara



Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
2020-04-12 22:45:41 +00:00
Pavan Kumar Sunkara
14012f7aef
Update .travis.yml 2020-04-13 00:17:01 +02:00
bors[bot]
fe848c2256
Merge #1813
1813: Allow literals in builder macros r=CreepySkeleton a=pksunkara



Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
2020-04-12 22:08:07 +00:00
Pavan Kumar Sunkara
da32adeb0e Allow literals in builder macros 2020-04-12 23:18:39 +02:00
bors[bot]
ee18ca44f1
Merge #1812
1812: Enable ansi support for windows before refactoring r=CreepySkeleton a=pksunkara



Co-authored-by: Pavan Kumar Sunkara <pavan.sss1991@gmail.com>
2020-04-12 17:47:57 +00:00
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