File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 8
8
output
9
9
generated-docs
10
10
bower_components
11
+ output-es
12
+
Original file line number Diff line number Diff line change
1
+ -- https://github.com/aristanetworks/purescript-backend-optimizer#usage
2
+ --
3
+ -- This package passes all its tests with purescript-backend-optimizer.
4
+ --
5
+ -- For running:
6
+ --
7
+ -- spago -x spago-backend-es.dhall test
8
+ --
9
+ -- which doesn't work because of bugs in spago,
10
+ -- https://github.com/aristanetworks/purescript-backend-optimizer/issues/25
11
+ -- so run this as a substitute:
12
+ --
13
+ -- spago -x spago-dev.dhall build --purs-args '--codegen corefn,js'
14
+ -- purs-backend-es bundle-app --minify --platform=node --main Test.Main --to index.mjs
15
+ -- node index.mjs
16
+ --
17
+ -- For bench:
18
+ --
19
+ -- spago -x spago-dev.dhall build --purs-args '--codegen corefn,js'
20
+ -- purs-backend-es bundle-app --minify --platform=node --main Bench.Main --to index.mjs
21
+ -- node --expose-gc index.mjs > bench2.txt
22
+ --
23
+
24
+ ./ spago- dev. dhall // { backend = " purs-backend-es build" }
25
+
You can’t perform that action at this time.
0 commit comments