mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-23 05:51:39 +00:00
Enhance CI pipeline documentation and improve git command handling
- Updated the `/ci` command documentation to clarify the execution steps for the CI pipeline, specifically regarding the rbx-dom section. - Modified git command invocations in `CloneCommand` and `InitCommand` to include the `--no-verify` flag, allowing commits to bypass pre-commit hooks. - Added null input handling for git commands in `CloneCommand`, `InitCommand`, and `Syncback` to prevent blocking on stdin.
This commit is contained in:
parent
1ad54fb0c4
commit
b2c8f2848b
4 changed files with 15 additions and 6 deletions
|
|
@ -186,13 +186,15 @@ impl InitCommand {
|
|||
let _ = Command::new("git")
|
||||
.args(["add", "."])
|
||||
.current_dir(&base_path)
|
||||
.stdin(Stdio::null())
|
||||
.stdout(Stdio::null())
|
||||
.stderr(Stdio::null())
|
||||
.status();
|
||||
|
||||
let _ = Command::new("git")
|
||||
.args(["commit", "-m", "Initial commit"])
|
||||
.args(["commit", "--no-verify", "-m", "Initial commit"])
|
||||
.current_dir(&base_path)
|
||||
.stdin(Stdio::null())
|
||||
.stdout(Stdio::null())
|
||||
.stderr(Stdio::null())
|
||||
.status();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue