repo
stringlengths
6
65
file_url
stringlengths
81
311
file_path
stringlengths
6
227
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:31:58
2026-01-04 20:25:31
truncated
bool
2 classes
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_git_colocated.rs
cli/tests/test_git_colocated.rs
// Copyright 2022 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
true
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/datatest_config_schema.rs
cli/tests/datatest_config_schema.rs
// Copyright 2025 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_gerrit_upload.rs
cli/tests/test_gerrit_upload.rs
// Copyright 2025 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_revset_output.rs
cli/tests/test_revset_output.rs
// Copyright 2022 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_diff_command.rs
cli/tests/test_diff_command.rs
// Copyright 2022 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
true
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_copy_detection.rs
cli/tests/test_copy_detection.rs
// Copyright 2022 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_advance_bookmarks.rs
cli/tests/test_advance_bookmarks.rs
// Copyright 2024 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_immutable_commits.rs
cli/tests/test_immutable_commits.rs
// Copyright 2023 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_revert_command.rs
cli/tests/test_revert_command.rs
// Copyright 2025 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_edit_command.rs
cli/tests/test_edit_command.rs
// Copyright 2022 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_metaedit_command.rs
cli/tests/test_metaedit_command.rs
// Copyright 2022 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_interdiff_command.rs
cli/tests/test_interdiff_command.rs
// Copyright 2022 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_undo_redo_commands.rs
cli/tests/test_undo_redo_commands.rs
// Copyright 2022 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_help_command.rs
cli/tests/test_help_command.rs
// Copyright 2024 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_rebase_command.rs
cli/tests/test_rebase_command.rs
// Copyright 2022 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
true
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_tag_command.rs
cli/tests/test_tag_command.rs
// Copyright 2024 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_git_import_export.rs
cli/tests/test_git_import_export.rs
// Copyright 2022 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_config_schema.rs
cli/tests/test_config_schema.rs
// Copyright 2025 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_git_fetch.rs
cli/tests/test_git_fetch.rs
// Copyright 2023 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
true
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_gitignores.rs
cli/tests/test_gitignores.rs
// Copyright 2020 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_git_private_commits.rs
cli/tests/test_git_private_commits.rs
// Copyright 2024 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_alias.rs
cli/tests/test_alias.rs
// Copyright 2022 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_working_copy.rs
cli/tests/test_working_copy.rs
// Copyright 2023 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_split_command.rs
cli/tests/test_split_command.rs
// Copyright 2022 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
true
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_git_root.rs
cli/tests/test_git_root.rs
// Copyright 2025 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_show_command.rs
cli/tests/test_show_command.rs
// Copyright 2022 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_util_command.rs
cli/tests/test_util_command.rs
// Copyright 2023 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_sign_unsign_commands.rs
cli/tests/test_sign_unsign_commands.rs
// Copyright 2023 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_sparse_command.rs
cli/tests/test_sparse_command.rs
// Copyright 2022 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_simplify_parents_command.rs
cli/tests/test_simplify_parents_command.rs
// Copyright 2024 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_restore_command.rs
cli/tests/test_restore_command.rs
// Copyright 2022 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_file_list_command.rs
cli/tests/test_file_list_command.rs
// Copyright 2025 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_repo_change_report.rs
cli/tests/test_repo_change_report.rs
// Copyright 2023 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_next_prev_commands.rs
cli/tests/test_next_prev_commands.rs
// Copyright 2023 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
true
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_bookmark_command.rs
cli/tests/test_bookmark_command.rs
// Copyright 2022 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
true
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_file_annotate_command.rs
cli/tests/test_file_annotate_command.rs
// Copyright 2024 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_file_show_command.rs
cli/tests/test_file_show_command.rs
// Copyright 2022 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_workspaces.rs
cli/tests/test_workspaces.rs
// Copyright 2022 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
true
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_absorb_command.rs
cli/tests/test_absorb_command.rs
// Copyright 2024 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_git_remotes.rs
cli/tests/test_git_remotes.rs
// Copyright 2022 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_commit_template.rs
cli/tests/test_commit_template.rs
// Copyright 2023 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
true
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_op_revert_command.rs
cli/tests/test_op_revert_command.rs
// Copyright 2025 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/test_builtin_aliases.rs
cli/tests/test_builtin_aliases.rs
// Copyright 2023 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/common/config_schema_defaults.rs
cli/tests/common/config_schema_defaults.rs
// Copyright 2025 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/common/command_output.rs
cli/tests/common/command_output.rs
// Copyright 2020 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/common/mod.rs
cli/tests/common/mod.rs
// Copyright 2020 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/tests/common/test_environment.rs
cli/tests/common/test_environment.rs
// Copyright 2020 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/examples/custom-commit-templater/main.rs
cli/examples/custom-commit-templater/main.rs
// Copyright 2024 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/examples/custom-operation-templater/main.rs
cli/examples/custom-operation-templater/main.rs
// Copyright 2024 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/examples/custom-command/main.rs
cli/examples/custom-command/main.rs
// Copyright 2022 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/examples/custom-working-copy/main.rs
cli/examples/custom-working-copy/main.rs
// Copyright 2023 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/examples/custom-backend/main.rs
cli/examples/custom-backend/main.rs
// Copyright 2022 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/examples/custom-global-flag/main.rs
cli/examples/custom-global-flag/main.rs
// Copyright 2023 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/testing/fake-formatter.rs
cli/testing/fake-formatter.rs
// Copyright 2024 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/testing/fake-bisector.rs
cli/testing/fake-bisector.rs
// Copyright 2025 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/testing/fake-editor.rs
cli/testing/fake-editor.rs
// Copyright 2022 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/testing/fake-echo.rs
cli/testing/fake-echo.rs
// Copyright 2025 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
jj-vcs/jj
https://github.com/jj-vcs/jj/blob/10efcf35613c9c2076278f1721b5e6826e77c144/cli/testing/fake-diff-editor.rs
cli/testing/fake-diff-editor.rs
// Copyright 2022 The Jujutsu Authors // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // // https://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed t...
rust
Apache-2.0
10efcf35613c9c2076278f1721b5e6826e77c144
2026-01-04T15:37:48.912814Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/build-templated-pages/src/main.rs
tools/build-templated-pages/src/main.rs
//! Tool used to build the templated pages of the Bevy website. use bitflags::bitflags; mod examples; mod features; bitflags! { #[derive(Clone, Copy, Debug, PartialEq, Eq)] struct Command: u32 { const CHECK_MISSING = 0b00000001; const UPDATE = 0b00000010; } } bitflags! { #[derive(Clo...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/build-templated-pages/src/features.rs
tools/build-templated-pages/src/features.rs
use core::cmp::Ordering; use std::fs::File; use serde::Serialize; use tera::{Context, Tera}; use toml_edit::DocumentMut; use crate::Command; #[derive(Debug, Serialize, PartialEq, Eq, Clone)] struct Feature { name: String, description: String, is_profile: bool, is_collection: bool, } impl Ord for Fea...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/build-templated-pages/src/examples.rs
tools/build-templated-pages/src/examples.rs
use core::cmp::Ordering; use std::fs::File; use hashbrown::HashMap; use serde::Serialize; use tera::{Context, Tera}; use toml_edit::{DocumentMut, Item}; use crate::Command; #[derive(Debug, Serialize, PartialEq, Eq)] struct Category { description: Option<String>, examples: Vec<Example>, } #[derive(Debug, Ser...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/ci/src/ci.rs
tools/ci/src/ci.rs
use crate::{ args::Args, commands, prepare::{Prepare, PreparedCommand}, }; use argh::FromArgs; /// The CI command line tool for Bevy. #[derive(FromArgs)] pub struct CI { #[argh(subcommand)] command: Option<Commands>, /// continue running commands even if one fails #[argh(switch)] pub(c...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/ci/src/args.rs
tools/ci/src/args.rs
use crate::CI; /// Arguments that are available to CI commands. #[derive(Copy, Clone, PartialEq, Eq)] pub struct Args { keep_going: bool, test_threads: Option<usize>, build_jobs: Option<usize>, } impl Args { #[inline(always)] pub fn keep_going(&self) -> Option<&'static str> { self.keep_goi...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/ci/src/main.rs
tools/ci/src/main.rs
//! CI script used for Bevy. mod args; mod ci; mod commands; mod prepare; pub use self::{ci::*, prepare::*}; fn main() { argh::from_env::<CI>().run(); }
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/ci/src/prepare.rs
tools/ci/src/prepare.rs
use crate::args::Args; /// Trait for preparing a subcommand to be run. pub trait Prepare { /// A method that returns a list of [`PreparedCommand`]s to be run for a given shell and flags. /// /// # Example /// /// ``` /// # use crate::{args::Args, Prepare, PreparedCommand}; /// # use argh::F...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/ci/src/commands/doc_check.rs
tools/ci/src/commands/doc_check.rs
use crate::{args::Args, Prepare, PreparedCommand}; use argh::FromArgs; use xshell::cmd; /// Checks that all docs compile. #[derive(FromArgs, Default)] #[argh(subcommand, name = "doc-check")] pub struct DocCheckCommand {} impl Prepare for DocCheckCommand { fn prepare<'a>(&self, sh: &'a xshell::Shell, args: Args) -...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/ci/src/commands/bench_check.rs
tools/ci/src/commands/bench_check.rs
use crate::{args::Args, Prepare, PreparedCommand}; use argh::FromArgs; use xshell::cmd; /// Checks that the benches compile. #[derive(FromArgs, Default)] #[argh(subcommand, name = "bench-check")] pub struct BenchCheckCommand {} impl Prepare for BenchCheckCommand { fn prepare<'a>(&self, sh: &'a xshell::Shell, args...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/ci/src/commands/test.rs
tools/ci/src/commands/test.rs
use crate::{args::Args, Prepare, PreparedCommand}; use argh::FromArgs; use xshell::cmd; /// Runs all tests (except for doc tests). #[derive(FromArgs, Default)] #[argh(subcommand, name = "test")] pub struct TestCommand {} impl Prepare for TestCommand { fn prepare<'a>(&self, sh: &'a xshell::Shell, args: Args) -> Ve...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/ci/src/commands/compile_check.rs
tools/ci/src/commands/compile_check.rs
use crate::{args::Args, Prepare, PreparedCommand}; use argh::FromArgs; use xshell::cmd; /// Checks that the project compiles. #[derive(FromArgs, Default)] #[argh(subcommand, name = "compile-check")] pub struct CompileCheckCommand {} impl Prepare for CompileCheckCommand { fn prepare<'a>(&self, sh: &'a xshell::Shel...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/ci/src/commands/integration_test_clean.rs
tools/ci/src/commands/integration_test_clean.rs
use crate::{args::Args, Prepare, PreparedCommand}; use argh::FromArgs; use xshell::cmd; use super::get_integration_tests; /// Cleans the build artifacts for all integration tests. #[derive(FromArgs, Default)] #[argh(subcommand, name = "integration-test-clean")] pub struct IntegrationTestCleanCommand {} impl Prepare ...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/ci/src/commands/compile_fail.rs
tools/ci/src/commands/compile_fail.rs
use crate::{args::Args, Prepare, PreparedCommand}; use argh::FromArgs; use xshell::cmd; /// Runs the compile-fail tests. #[derive(FromArgs, Default)] #[argh(subcommand, name = "compile-fail")] pub struct CompileFailCommand {} impl Prepare for CompileFailCommand { fn prepare<'a>(&self, sh: &'a xshell::Shell, args:...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/ci/src/commands/compile.rs
tools/ci/src/commands/compile.rs
use crate::{ args::Args, commands::{ BenchCheckCommand, CompileCheckCommand, CompileFailCommand, ExampleCheckCommand, IntegrationTestCheckCommand, TestCheckCommand, }, Prepare, PreparedCommand, }; use argh::FromArgs; /// Alias for running the `compile-fail`, `bench-check`, `example-chec...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/ci/src/commands/doc.rs
tools/ci/src/commands/doc.rs
use crate::{ args::Args, commands::{DocCheckCommand, DocTestCommand}, Prepare, PreparedCommand, }; use argh::FromArgs; /// Alias for running the `doc-test` and `doc-check` subcommands. #[derive(FromArgs, Default)] #[argh(subcommand, name = "doc")] pub struct DocCommand {} impl Prepare for DocCommand { ...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/ci/src/commands/integration_test.rs
tools/ci/src/commands/integration_test.rs
use crate::{args::Args, commands::get_integration_tests, Prepare, PreparedCommand}; use argh::FromArgs; use xshell::cmd; /// Runs all integration tests (except for doc tests). #[derive(FromArgs, Default)] #[argh(subcommand, name = "integration-test")] pub struct IntegrationTestCommand {} impl Prepare for IntegrationT...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/ci/src/commands/test_check.rs
tools/ci/src/commands/test_check.rs
use crate::{args::Args, Prepare, PreparedCommand}; use argh::FromArgs; use xshell::cmd; /// Checks that all tests compile. #[derive(FromArgs, Default)] #[argh(subcommand, name = "test-check")] pub struct TestCheckCommand {} impl Prepare for TestCheckCommand { fn prepare<'a>(&self, sh: &'a xshell::Shell, args: Arg...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/ci/src/commands/mod.rs
tools/ci/src/commands/mod.rs
pub use bench_check::*; pub use clippy::*; pub use compile::*; pub use compile_check::*; pub use compile_fail::*; pub use doc::*; pub use doc_check::*; pub use doc_test::*; pub use example_check::*; pub use format::*; pub use integration_test::*; pub use integration_test_check::*; pub use integration_test_clean::*; pub...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/ci/src/commands/format.rs
tools/ci/src/commands/format.rs
use crate::{args::Args, Prepare, PreparedCommand}; use argh::FromArgs; use xshell::cmd; /// Check code formatting. #[derive(FromArgs, Default)] #[argh(subcommand, name = "format")] pub struct FormatCommand {} impl Prepare for FormatCommand { fn prepare<'a>(&self, sh: &'a xshell::Shell, _args: Args) -> Vec<Prepare...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/ci/src/commands/doc_test.rs
tools/ci/src/commands/doc_test.rs
use crate::{args::Args, Prepare, PreparedCommand}; use argh::FromArgs; use xshell::cmd; /// Runs all doc tests. #[derive(FromArgs, Default)] #[argh(subcommand, name = "doc-test")] pub struct DocTestCommand {} impl Prepare for DocTestCommand { fn prepare<'a>(&self, sh: &'a xshell::Shell, args: Args) -> Vec<Prepare...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/ci/src/commands/integration_test_check.rs
tools/ci/src/commands/integration_test_check.rs
use std::path::Path; use crate::{args::Args, Prepare, PreparedCommand}; use argh::FromArgs; use xshell::cmd; pub fn get_integration_tests(sh: &xshell::Shell) -> Vec<String> { let integration_test_paths = sh.read_dir(Path::new("./tests-integration")).unwrap(); // Filter out non-directories integration_tes...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/ci/src/commands/lints.rs
tools/ci/src/commands/lints.rs
use crate::{ args::Args, commands::{ClippyCommand, FormatCommand}, Prepare, PreparedCommand, }; use argh::FromArgs; /// Alias for running the `format` and `clippy` subcommands. #[derive(FromArgs, Default)] #[argh(subcommand, name = "lints")] pub struct LintsCommand {} impl Prepare for LintsCommand { f...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/ci/src/commands/clippy.rs
tools/ci/src/commands/clippy.rs
use crate::{args::Args, Prepare, PreparedCommand}; use argh::FromArgs; use xshell::cmd; /// Check for clippy warnings and errors. #[derive(FromArgs, Default)] #[argh(subcommand, name = "clippy")] pub struct ClippyCommand {} impl Prepare for ClippyCommand { fn prepare<'a>(&self, sh: &'a xshell::Shell, args: Args) ...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/ci/src/commands/example_check.rs
tools/ci/src/commands/example_check.rs
use crate::{args::Args, Prepare, PreparedCommand}; use argh::FromArgs; use xshell::cmd; /// Checks that the examples compile. #[derive(FromArgs, Default)] #[argh(subcommand, name = "example-check")] pub struct ExampleCheckCommand {} impl Prepare for ExampleCheckCommand { fn prepare<'a>(&self, sh: &'a xshell::Shel...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/example-showcase/src/main.rs
tools/example-showcase/src/main.rs
//! Tool to run all examples or generate a showcase page for the Bevy website. #![expect(clippy::print_stdout, reason = "Allowed in tools.")] use core::{ fmt::Display, hash::{Hash, Hasher}, time::Duration, }; use std::{ collections::{hash_map::DefaultHasher, HashMap}, fs::{self, File}, io::Wri...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
true
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/export-content/src/app.rs
tools/export-content/src/app.rs
#![expect( unused_assignments, reason = "Warnings from inside miette due to a rustc bug: https://github.com/rust-lang/rust/issues/147648" )] use std::{env, fs, io::Write, path::PathBuf}; use miette::{diagnostic, Context, Diagnostic, IntoDiagnostic, NamedSource, Result}; use ratatui::{ crossterm::event::{s...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/export-content/src/main.rs
tools/export-content/src/main.rs
//! A tool for exporting release content. //! //! This terminal-based tool generates a release content file //! from the content of the `release-content` directory. //! //! To run this tool, use the following command from the `bevy` repository root: //! //! ```sh //! cargo run -p export-content //! ``` use std::{ ...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/compile_fail_utils/src/lib.rs
tools/compile_fail_utils/src/lib.rs
use std::{ env, path::{Path, PathBuf}, }; // Re-export ui_test so all the tests use the same version. pub use ui_test; use ui_test::{ bless_output_files, color_eyre::eyre::eyre, default_file_filter, default_per_file_config, dependencies::DependencyBuilder, ignore_output_conflict, run_tests...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/compile_fail_utils/tests/example.rs
tools/compile_fail_utils/tests/example.rs
fn main() -> compile_fail_utils::ui_test::Result<()> { // Run all tests in the tests/example_tests folder. // If we had more tests we could either call this function // on every single one or use test_multiple and past it an array // of paths. // // Don't forget that when running tests the worki...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/compile_fail_utils/tests/example_tests/pass_test.rs
tools/compile_fail_utils/tests/example_tests/pass_test.rs
//@check-pass // This code is expected to compile correctly. fn correct_borrowing() { let x = String::new(); let y = &x; println!("{x}"); println!("{y}"); }
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/compile_fail_utils/tests/example_tests/basic_test.rs
tools/compile_fail_utils/tests/example_tests/basic_test.rs
// Compiler warnings also need to be annotated. We don't // want to annotate all the unused variables so let's instruct // the compiler to ignore them. #![allow(unused_variables)] fn bad_moves() { let x = String::new(); // Help diagnostics need to be annotated let y = x; //~^ HELP: consider cloning ...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/compile_fail_utils/tests/example_tests/import.rs
tools/compile_fail_utils/tests/example_tests/import.rs
// You can import anything defined in the dependencies table of the crate. use ui_test::Config; fn wrong_type() { let _ = Config::this_function_does_not_exist(); //~^ E0599 }
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/build-wasm-example/src/main.rs
tools/build-wasm-example/src/main.rs
//! Tool used to build Bevy examples for wasm. use std::{fs::File, io::Write}; use clap::{Parser, ValueEnum}; use xshell::{cmd, Shell}; #[derive(Debug, Copy, Clone, ValueEnum)] enum WebApi { Webgl2, Webgpu, } #[derive(Parser, Debug)] struct Args { /// Examples to build examples: Vec<String>, #[...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tools/build-easefunction-graphs/src/main.rs
tools/build-easefunction-graphs/src/main.rs
//! Generates graphs for the `EaseFunction` docs. #![expect(clippy::print_stdout, reason = "Allowed in tools.")] use std::path::PathBuf; use bevy_math::curve::{CurveExt, EaseFunction, EasingCurve, JumpAt}; use svg::{ node::element::{self, path::Data}, Document, }; fn main() { let root_dir = PathBuf::fro...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tests-integration/simple-ecs-test/src/lib.rs
tests-integration/simple-ecs-test/src/lib.rs
#![allow(dead_code)] use bevy::prelude::*; #[derive(Component)] struct MyComponent { value: f32, } #[derive(Resource)] struct MyResource { value: f32, } fn hello_world(query: Query<&MyComponent>, resource: Res<MyResource>) { let component = query.iter().next().unwrap(); let comp_value = component.val...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/errors/src/lib.rs
errors/src/lib.rs
//! Definitions of Bevy's error codes that might occur at runtime. //! //! These either manifest as a warning or a panic. #[doc = include_str!("../B0001.md")] pub struct B0001; #[doc = include_str!("../B0002.md")] pub struct B0002; #[doc = include_str!("../B0003.md")] pub struct B0003; #[doc = include_str!("../B000...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/src/lib.rs
src/lib.rs
#![cfg_attr(docsrs, feature(doc_cfg))] #![expect( clippy::doc_markdown, reason = "Clippy lints for un-backticked identifiers within the cargo features list, which we don't want." )] //! [![Bevy Logo](https://bevy.org/assets/bevy_logo_docs.svg)](https://bevy.org) //! //! Bevy is an open-source, modular game engi...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tests/how_to_test_systems.rs
tests/how_to_test_systems.rs
#![expect(missing_docs, reason = "Not all docs are written yet, see #3492.")] use bevy::prelude::*; #[derive(Component, Default)] struct Enemy { hit_points: u32, score_value: u32, } #[derive(Message)] struct EnemyDied(u32); #[derive(Resource)] struct Score(u32); fn update_score(mut dead_enemies: MessageRead...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tests/how_to_test_apps.rs
tests/how_to_test_apps.rs
//! Demonstrates simple integration testing of Bevy applications. //! //! By substituting [`DefaultPlugins`] with [`MinimalPlugins`], Bevy can run completely headless. //! //! The list of minimal plugins does not include things like window or input handling. The downside //! of this is that resources or entities associ...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tests/3d/test_invalid_skinned_mesh.rs
tests/3d/test_invalid_skinned_mesh.rs
//! Test that the renderer can handle various invalid skinned meshes use bevy::{ asset::RenderAssetUsages, camera::ScalingMode, math::ops, mesh::{ skinning::{SkinnedMesh, SkinnedMeshInverseBindposes}, Indices, PrimitiveTopology, VertexAttributeValues, }, post_process::motion_blu...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tests/3d/no_prepass.rs
tests/3d/no_prepass.rs
//! A test to confirm that `bevy` allows disabling the prepass of the standard material. //! This is run in CI to ensure that this doesn't regress again. use bevy::{pbr::PbrPlugin, prelude::*}; fn main() { App::new() .add_plugins(DefaultPlugins.set(PbrPlugin { prepass_enabled: false, ...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false
bevyengine/bevy
https://github.com/bevyengine/bevy/blob/51a6fedb06a022ab5d39e099413caa882e1b022d/tests/window/resizing.rs
tests/window/resizing.rs
//! A test to confirm that `bevy` allows setting the window to arbitrary small sizes //! This is run in CI to ensure that this doesn't regress again. use bevy::{prelude::*, window::WindowResolution}; // The smallest size reached is 1x1, as X11 doesn't support windows with a 0 dimension // TODO: Add a check for platfo...
rust
Apache-2.0
51a6fedb06a022ab5d39e099413caa882e1b022d
2026-01-04T15:31:59.438636Z
false