Skip to content

Commit

Permalink
Merge branch 'main' of github.com:Sopamo/w
Browse files Browse the repository at this point in the history
  • Loading branch information
Sopamo committed Jul 18, 2022
2 parents b844fc0 + 33fffd7 commit 461b505
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<br />

## Project setup
Download the [latest version](https://github.com/Sopamo/via/releases) of via and move it to `/usr/local/bin/v`.
Download the [latest version](https://github.com/Sopamo/via/releases) of via and move it to `/usr/local/bin/v`. Make sure it's executable by running `sudo chmod +x /usr/local/bin/v`.

Create your first project configuration file by running `v init my-project` and follow the instructions.

Expand Down Expand Up @@ -65,4 +65,4 @@ deno run --allow-read --allow-run --allow-env --allow-write ./src/via.ts [projec
To build the binary, run:
```bash
deno compile --allow-read --allow-run --allow-env --allow-write ./src/via.ts
```
```
2 changes: 1 addition & 1 deletion src/via.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ const projectWideActions = ["start", "stop"]
async function runCommand(cmd: string, cwd: string) {
console.log(`Running ${cmd} in ${cwd}`)
const p = Deno.run({
cmd: cmd.split(" "),
cmd: ['sh', '-c', cmd],
cwd,
});
await p.status()
Expand Down

0 comments on commit 461b505

Please sign in to comment.