Skip to content

Commit

Permalink
Add initial windows support (#48)
Browse files Browse the repository at this point in the history
* Fixes stack build on windows

Stack can't resolve dependencies correctly,
recommended action was to add this line
to stack.yaml.

This may be better fixed upstream in turtle,
as it seems stack comes with a newer version
of win32 than turtle supports

* Fixes bundle on windows

The quotes caused issues on windows. Purs would
complain about having no files.

Changing the quote style fixes the command
on windows
  • Loading branch information
btrepp authored and f-f committed Dec 20, 2018
1 parent 715c1e7 commit cf3b59b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion app/Spago.hs
Original file line number Diff line number Diff line change
Expand Up @@ -278,7 +278,7 @@ bundle withMain maybeModuleName maybeTargetPath = do
WithoutMain -> ""

cmd
= "purs bundle './output/*/*.js'"
= "purs bundle \"output/*/*.js\""
<> " -m " <> moduleName
<> main
<> " -o " <> targetPath
Expand Down
1 change: 1 addition & 0 deletions stack.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,3 +9,4 @@ extra-deps:
- repline-0.2.0.0
- async-pool-0.9.0.2
- serialise-0.2.1.0
- Win32-2.5.4.1@sha256:e623a1058bd8134ec14d62759f76cac52eee3576711cb2c4981f398f1ec44b85

0 comments on commit cf3b59b

Please sign in to comment.