Skip to content

Commit 9213579

Browse files
committed
Add install steps in build
1 parent ff81596 commit 9213579

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

esy.json

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,16 @@
2626
["cp", "-r", "-f", "#{self.root / 'scripts'}", "#{self.install}"],
2727
["cp", "-r", "-f", "#{self.root / 'vendor'}", "#{self.install}"]
2828
],
29-
"build": [["node", "./scripts/install.js"]],
29+
"build": [
30+
["node", "./scripts/install.js"],
31+
["cp", "-r", "-f", "#{self.root / 'bsconfig.json'}", "#{self.install}"],
32+
["cp", "-r", "-f", "#{self.root / 'esy.json'}", "#{self.install}"],
33+
["cp", "-r", "-f", "#{self.root / 'package.json'}", "#{self.install}"],
34+
["cp", "-r", "-f", "#{self.root / 'jscomp'}", "#{self.install}"],
35+
["cp", "-r", "-f", "#{self.root / 'lib'}", "#{self.install}"],
36+
["cp", "-r", "-f", "#{self.root / 'scripts'}", "#{self.install}"],
37+
["cp", "-r", "-f", "#{self.root / 'vendor'}", "#{self.install}"]
38+
],
3039
"buildEnv": {
3140
"ESY": "true"
3241
},
@@ -52,7 +61,7 @@
5261
"scope": "global"
5362
},
5463
"PATH": {
55-
"val": "#{bucklescript.lib : $PATH}",
64+
"val": "#{self.lib : $PATH}",
5665
"scope": "global"
5766
}
5867
}

0 commit comments

Comments
 (0)