mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-20 17:41:37 +00:00
Fix extra Git output in rojo init and update place template
This commit is contained in:
parent
fe874720aa
commit
9b4c89820d
2 changed files with 3 additions and 2 deletions
|
|
@ -5,10 +5,10 @@ Generated by [Rojo](https://github.com/rojo-rbx/rojo) {rojo_version}.
|
||||||
To build the place from scratch, use:
|
To build the place from scratch, use:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
rojo build -o Place.rbxlx
|
rojo build -o "{project_name}.rbxlx"
|
||||||
```
|
```
|
||||||
|
|
||||||
Next, open `Place.rbxlx` in Roblox Studio and start the Rojo server:
|
Next, open `{project_name}.rbxlx` in Roblox Studio and start the Rojo server:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
rojo serve
|
rojo serve
|
||||||
|
|
|
||||||
|
|
@ -171,6 +171,7 @@ fn should_git_init(path: &Path) -> bool {
|
||||||
let result = Command::new("git")
|
let result = Command::new("git")
|
||||||
.args(&["rev-parse", "--is-inside-work-tree"])
|
.args(&["rev-parse", "--is-inside-work-tree"])
|
||||||
.stdout(Stdio::null())
|
.stdout(Stdio::null())
|
||||||
|
.stderr(Stdio::null())
|
||||||
.current_dir(path)
|
.current_dir(path)
|
||||||
.status();
|
.status();
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue