-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bump to purs15 and change examples to use spago
- Loading branch information
Showing
10 changed files
with
12,775 additions
and
3,798 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ output | |
html/index.js | ||
package-lock.json | ||
node_modules | ||
.spago |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,9 @@ | ||
all: node_modules | ||
purs compile src/*.purs '../../src/**/*.purs' '../../bower_components/purescript-*/src/**/*.purs' | ||
purs bundle -m Main --main Main output/*/*.js > output/bundle.js | ||
node_modules/.bin/browserify output/bundle.js -o html/index.js | ||
all: node_modules deps | ||
npx spago bundle-app --main Main --to output/bundle.js | ||
npx browserify output/bundle.js -o html/index.js | ||
|
||
node_modules: | ||
npm install | ||
|
||
deps: | ||
npx spago install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
{- | ||
Welcome to a Spago project! | ||
You can edit this file as you like. | ||
-} | ||
let conf = ../../spago.dhall | ||
|
||
in conf // { | ||
sources = conf.sources # [ "src/**/*.purs", "../../src/**/*.purs" ], | ||
dependencies = conf.dependencies # | ||
[ "effect" | ||
, "exceptions" | ||
, "maybe" | ||
, "react-basic-dom" | ||
, "react-basic-hooks" | ||
, "web-dom" | ||
] | ||
} |
Oops, something went wrong.