Skip to content

Commit b6a6352

Browse files
--purs-args quotes for all OSes (#638)
Any style of quotes will do for Linux. Windows needs double quotes. Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
1 parent 2f23b67 commit b6a6352

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ $ spago build --path 'another_source/**/*.purs'
307307
E.g. if you wish to output your files in some other place than `output/`, you can run
308308

309309
```bash
310-
$ spago build --purs-args '-o myOutput/'
310+
$ spago build --purs-args "-o myOutput/"
311311
```
312312

313313
If you wish to automatically have your project rebuilt when making changes to source files
@@ -348,7 +348,7 @@ $ spago run
348348
$ spago run --main ModulePath.To.Main
349349

350350
# And pass arguments through to `purs compile`
351-
$ spago run --main ModulePath.To.Main --purs-args '--verbose-errors'
351+
$ spago run --main ModulePath.To.Main --purs-args "--verbose-errors"
352352

353353
# Or pass arguments to node
354354
$ spago run --node-args "arg1 arg2"
@@ -376,7 +376,7 @@ to load, and pass options to the underlying `purs repl` via `--purs-args`.
376376
E.g. the following opens a repl on `localhost:3200`:
377377

378378
```bash
379-
$ spago repl --purs-args '--port 3200'
379+
$ spago repl --purs-args "--port 3200"
380380
```
381381

382382

@@ -1108,7 +1108,7 @@ $ spago docs --format ctags
11081108

11091109
Quoting from [this tweet](https://twitter.com/jusrin00/status/1092071407356387328):
11101110

1111-
1. build with `--purs-args '-g sourcemaps'`
1111+
1. build with `--purs-args "-g sourcemaps"`
11121112
2. source output (like `var someModule = require('./output/Whatever/index.js');`) and use
11131113
something like `parcel`, to avoid mangling/destroying the sourcemaps
11141114
3. now you can see your breakpoints in action

0 commit comments

Comments
 (0)