Commit db54c04
committed
fix(new): Print a 'Creating', rather than 'Created' status
This has bothered me about `cargo new` and `cargo init` for a while that
the output is read backwards, for example:
```diff
--- i/tests/testsuite/cargo_init/path_contains_separator/stderr.log
+++ w/tests/testsuite/cargo_init/path_contains_separator/stderr.log
@@ -1,3 +1,3 @@
+ Creating binary (application) package
warning: the path `[ROOT]/case/test:ing/.` contains invalid PATH characters (usually `:`, `;`, or `"`)
It is recommended to use a different name to avoid problems.
- Created binary (application) package
```1 parent 7dcb602 commit db54c04
File tree
55 files changed
+86
-73
lines changed- crates/cargo-test-support/src
- src
- bin/cargo/commands
- cargo/ops
- tests/testsuite
- cargo_init
- auto_git
- bin_already_exists_explicit_nosrc
- bin_already_exists_explicit
- bin_already_exists_implicit_namenosrc
- bin_already_exists_implicit_namesrc
- bin_already_exists_implicit_nosrc
- bin_already_exists_implicit
- cant_create_library_when_both_binlib_present
- creates_binary_when_both_binlib_present
- creates_binary_when_instructed_and_has_lib_file
- creates_library_when_instructed_and_has_bin_file
- explicit_bin_with_git
- formats_source
- fossil_autodetect
- git_autodetect
- git_ignore_exists_no_conflicting_entries
- ignores_failure_to_format_source
- inferred_bin_with_git
- inferred_lib_with_git
- inherit_workspace_package_table
- invalid_dir_name
- lib_already_exists_nosrc
- lib_already_exists_src
- mercurial_autodetect
- path_contains_separator
- pijul_autodetect
- reserved_name
- simple_bin
- simple_git_ignore_exists
- simple_git
- simple_hg_ignore_exists
- simple_hg
- simple_lib
- with_argument
- workspace_add_member
- cargo_new
- add_members_to_workspace_format_previous_items
- add_members_to_workspace_format_sorted
- add_members_to_workspace_with_absolute_package_path
- add_members_to_workspace_with_empty_members
- add_members_to_workspace_with_exclude_list
- add_members_to_workspace_with_members_glob
- empty_name
- inherit_workspace_lints
- inherit_workspace_package_table_with_edition
- inherit_workspace_package_table_with_registry
- inherit_workspace_package_table_without_version
- inherit_workspace_package_table
- not_inherit_workspace_package_table_if_not_members
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
55 files changed
+86
-73
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
192 | 192 | | |
193 | 193 | | |
194 | 194 | | |
| 195 | + | |
195 | 196 | | |
196 | 197 | | |
197 | 198 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 24 | + | |
28 | 25 | | |
29 | 26 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 26 | | |
37 | 27 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
440 | 440 | | |
441 | 441 | | |
442 | 442 | | |
| 443 | + | |
| 444 | + | |
| 445 | + | |
443 | 446 | | |
444 | 447 | | |
445 | 448 | | |
| |||
484 | 487 | | |
485 | 488 | | |
486 | 489 | | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
487 | 493 | | |
488 | 494 | | |
489 | 495 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
105 | 105 | | |
106 | 106 | | |
107 | 107 | | |
| 108 | + | |
108 | 109 | | |
109 | 110 | | |
110 | 111 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
0 commit comments