File tree Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Expand file tree Collapse file tree 1 file changed +28
-0
lines changed Original file line number Diff line number Diff line change @@ -1498,6 +1498,34 @@ impl Xtasks {
1498
1498
) ?;
1499
1499
}
1500
1500
1501
+ // install bencher
1502
+ // linux curl --proto '=https' --tlsv1.2 -sSfL https://bencher.dev/download/install-cli.sh | sh
1503
+ // windows irm https://bencher.dev/download/install-cli.ps1 | iex
1504
+
1505
+ if cfg ! ( target_os = "windows" ) {
1506
+ Self :: run_system_command (
1507
+ & app_settings,
1508
+ "powershell" ,
1509
+ "Failed to install bencher" ,
1510
+ vec ! [
1511
+ "-Command" ,
1512
+ "irm https://bencher.dev/download/install-cli.ps1 | iex" ,
1513
+ ] ,
1514
+ None ,
1515
+ ) ?;
1516
+ } else {
1517
+ Self :: run_system_command (
1518
+ & app_settings,
1519
+ "sh" ,
1520
+ "Failed to install bencher" ,
1521
+ vec ! [
1522
+ "-c" ,
1523
+ "curl --proto '=https' --tlsv1.2 -sSfL https://bencher.dev/download/install-cli.sh | sh" ,
1524
+ ] ,
1525
+ None ,
1526
+ ) ?;
1527
+ }
1528
+
1501
1529
// install cargo mdbook
1502
1530
Self :: run_system_command (
1503
1531
& app_settings,
You can’t perform that action at this time.
0 commit comments