git.iko.soy/rowtype-yoga/purescript-native
on golang help sign in
Update readme for modules support changes
b2268a9Andy Arvanitis
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
36
36
371. 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.
371. 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.
38
38
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).
40
40
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:
44 * As stated above, place your source file(s) in the working directory's `src` subdirectory and execute
42 * As stated above, place your source file(s) in the working directory's `src` subdirectory and execute
45
43
46 ```sh
44 ```sh
47 spago build -- -g corefn && psgo
45 spago build -- -g corefn && psgo
48 ```
46 ```
49
47
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/`.
51
49
52---
50---