Example fixes

This commit is contained in:
yamadapc 2016-06-23 02:24:54 -03:00
parent 20a9ee1e6f
commit dcc49fb9a2
9 changed files with 37 additions and 9 deletions

View File

@ -15,6 +15,7 @@ all: FORCE
README: FORCE
cd ./README && stack build --install-ghc
cd ./README && npm install ../ghcjs-require
cd ./README && npm install
run-README: FORCE
@ -23,6 +24,7 @@ run-README: FORCE
hello-world-example: FORCE
cd ./examples/hello-world && stack build --install-ghc
cd ./examples/hello-world && npm install ../../ghcjs-require
cd ./examples/hello-world && npm install
run-hello-world-example: FORCE
@ -31,6 +33,7 @@ run-hello-world-example: FORCE
hello-variable-name: FORCE
cd ./examples/hello-variable-name && stack build --install-ghc
cd ./examples/hello-variable-name && npm install ../../ghcjs-require
cd ./examples/hello-variable-name && npm install
run-hello-variable-name: FORCE
@ -39,6 +42,7 @@ run-hello-variable-name: FORCE
fibonacci: FORCE
cd ./examples/fibonacci && stack build --install-ghc
cd ./examples/fibonacci && npm install ../../ghcjs-require
cd ./examples/fibonacci && npm install
run-fibonacci: FORCE
@ -47,14 +51,23 @@ run-fibonacci: FORCE
failure: FORCE
cd ./examples/failure && stack build --install-ghc
cd ./examples/failure && npm install ../../ghcjs-require
cd ./examples/failure && npm install
run-failure: FORCE
@echo "failure --------------------------------------------------------------"
cd ./examples/failure && node ./index.js
webpack: FORCE
cd ./examples/webpack && stack build --install-ghc
cd ./examples/webpack && npm install ../../ghcjs-require
cd ./examples/webpack && npm install ../../ghcjs-loader
cd ./examples/webpack && npm install
pandoc: FORCE
cd ./examples/pandoc && stack build --install-ghc
cd ./examples/pandoc && npm install ../../ghcjs-require
cd ./examples/pandoc && npm install ../../ghcjs-loader
cd ./examples/pandoc && npm install
run-pandoc: FORCE

View File

@ -12,6 +12,6 @@
"author": "",
"license": "ISC",
"dependencies": {
"ghcjs-require": "file:///Users/yamadapc/program/github.com/beijaflor-io/ghcjs-commonjs/ghcjs-require"
"ghcjs-require": "*"
}
}

View File

@ -10,6 +10,6 @@
"author": "Pedro Tacla Yamada",
"license": "MIT",
"dependencies": {
"ghcjs-require": "file:///Users/yamadapc/program/github.com/beijaflor-io/ghcjs-commonjs/ghcjs-require"
"ghcjs-require": "*"
}
}

View File

@ -10,6 +10,6 @@
"author": "Pedro Tacla Yamada",
"license": "MIT",
"dependencies": {
"ghcjs-require": "file:///Users/yamadapc/program/github.com/beijaflor-io/ghcjs-commonjs/ghcjs-require"
"ghcjs-require": "*"
}
}

View File

@ -10,6 +10,6 @@
"author": "Pedro Tacla Yamada",
"license": "MIT",
"dependencies": {
"ghcjs-require": "file:///Users/yamadapc/program/github.com/beijaflor-io/ghcjs-commonjs/ghcjs-require"
"ghcjs-require": "*"
}
}

View File

@ -10,6 +10,6 @@
"author": "Pedro Tacla Yamada",
"license": "MIT",
"dependencies": {
"ghcjs-require": "file:///Users/yamadapc/program/github.com/beijaflor-io/ghcjs-commonjs/ghcjs-require"
"ghcjs-require": "*"
}
}

View File

@ -18,8 +18,8 @@
"babel-loader": "^6.2.4",
"babel-preset-es2015": "^6.9.0",
"babel-preset-stage-1": "^6.5.0",
"ghcjs-loader": "file:///Users/yamadapc/program/github.com/beijaflor-io/ghcjs-commonjs/ghcjs-loader",
"ghcjs-require": "file:///Users/yamadapc/program/github.com/beijaflor-io/ghcjs-commonjs/ghcjs-require",
"ghcjs-loader": "*",
"ghcjs-require": "*",
"humanize": "0.0.9",
"webpack": "^1.13.1",
"webpack-bundle-tracker": "0.0.93",

View File

@ -8,20 +8,35 @@ packages:
git: git@github.com:osener/pandoc
commit: d3812ef17cf9c27197aac91298832975fde10939
extra-deps:
- SHA-1.6.4.2
- base64-bytestring-1.0.0.1
- blaze-builder-0.4.0.2
- blaze-html-0.8.1.1
- blaze-markup-0.7.0.3
- conduit-1.2.6.6
- data-default-0.5.3
- data-default-class-0.1.1
- data-default-instances-base-0.1.0
- data-default-instances-containers-0.0.1
- data-default-instances-dlist-0.0.1
- data-default-instances-old-locale-0.0.1
- deepseq-generics-0.1.1.2
- enclosed-exceptions-1.0.2
- exceptions-0.8.2.1
- lifted-base-0.2.3.6
- mmorph-1.0.6
- monad-control-1.0.1.0
- nats-1.1.1
- network-uri-2.6.1.0
- pandoc-types-1.12.4.7
- parsec-3.1.11
- random-1.1
- resourcet-1.1.7.4
- semigroups-0.18
- tagged-0.8.4
- tagsoup-0.13.10
- transformers-base-0.4.4
- transformers-compat-0.5.1.4
- xml-1.3.14
- yaml-0.8.18
resolver: ghcjs-0.2.0.20160414_ghc-7.10.3

View File

@ -18,8 +18,8 @@
"babel-loader": "^6.2.4",
"babel-preset-es2015": "^6.9.0",
"babel-preset-stage-1": "^6.5.0",
"ghcjs-loader": "file:///Users/yamadapc/program/github.com/beijaflor-io/ghcjs-commonjs/ghcjs-loader",
"ghcjs-require": "file:///Users/yamadapc/program/github.com/beijaflor-io/ghcjs-commonjs/ghcjs-require",
"ghcjs-loader": "*",
"ghcjs-require": "*",
"humanize": "0.0.9",
"webpack": "^1.13.1",
"webpack-bundle-tracker": "0.0.93",