blob: 5f01298960cd19a734625e929698d878d2b0a942 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
|
{ runCommand, purescript, nodejs }:
runCommand "purescript-test-minimal-module" {} ''
${purescript}/bin/purs compile -o ./output ${./.}/Main.purs
echo 'require("./output/Main/index.js").main()' > node.js
${nodejs}/bin/node node.js | grep "hello world" || echo "did not output hello world"
touch $out
''
|