git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Update readme for modules support changes
commitb2268a9472d099cdeb022acf15cb6ec8af8e1c0f authorAndy Arvanitis <andyarvanitis@gmail.com> dateFri 9 Aug 2019, 19:12 (7 years ago) parent24d4b74
1 file changed+3−5
README-go.md+3−5
README-go.md+3−5
@@ -36,17 +36,15 @@ This assumes you are running macOS (OS X) or a Unix-like system (Linux, *BSD, et
3636
37371. Choose a working directory wherever you like. Then create a `src` subdirectory under it, which will be where you will place your own PureScript source files.
3838
39−2. Under your working directory, clone or copy [purescript-native-go-ffi](https://github.com/andyarvanitis/purescript-native-go-ffi). Place any of your own foreign implementations into subdirectories of your working directory. Make sure your Go package directories are all under a `src` directory (standard Go practice).
39+1. 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−3. Initialize your project with `spago init`, and install any dependencies with `spago install` (please see their instructions if you haven't used it before).
42−
43−4. You should now be ready to build a PureScript program:
41+1. You should now be ready to build a PureScript program:
4442 * As stated above, place your source file(s) in the working directory's `src` subdirectory and execute
4543
4644 ```sh
4745 spago build -- -g corefn && psgo
4846 ```
4947
50− * 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/src/`.
48+ * 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/`.
5149
5250---