git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
update readme for spago's backend support
commit574c69fddac20fb46a78be03534da4db4ad5afc7 authorCarsten Csiky (csicar) <carsten.csiky@gmail.com> dateTue 8 Oct 2019, 00:34 (7 years ago) parentc273a19
1 file changed+3−5
README-go.md+3−5
README-go.md+3−5
@@ -38,12 +38,10 @@ This assumes you are running macOS (OS X) or a Unix-like system (Linux, *BSD, et
3838
39391. Initialize your project with `spago init`, and install any dependencies with `spago install` (please see their instructions if you haven't used it before).
4040
41+1. Add the `backend = "psgo"` option to your `spago.dhall` file. That way `spago` will use the psgo backend when compiling.
42+
41431. You should now be ready to build a PureScript program:
42− * As stated above, place your source file(s) in the working directory's `src` subdirectory and execute
43−
44− ```sh
45− spago build -- -g corefn && psgo
46− ```
44+ * As stated above, place your source file(s) in the working directory's `src` subdirectory and execute `spago build`.
4745
4846 * This will generate the Go source tree for your program and then build an executable binary. The resulting executable will be in your working directory and will be named `Main`. The generated source files will be under `output/`.
4947