Skip to content

Commit

Permalink
Release v3.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDegraeve committed Sep 28, 2020
1 parent 7e99e60 commit 0edc161
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
2 changes: 1 addition & 1 deletion esy.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "res-react-intl",
"version": "3.0.1",
"version": "3.0.2",
"description": "Reason/OCaml PPX generating ReactIntl `id` from `defaultMessage`",
"author": "Simon Degraeve <simon.degraeve@gmail.com>",
"license": "MIT",
Expand Down
10 changes: 7 additions & 3 deletions script/release-make-skeleton.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ for (const file of filesToCopy) {

fs.copyFileSync(path.join(src, 'script', 'release-postinstall.js'), path.join(dst, 'postinstall.js'))

const filesToTouch = ['ppx.exe', 'extract.exe']
const filesToTouch = ['ppx.exe', 'ppx', 'extract.exe', 'extract']

for (const file of filesToTouch) {
const p = path.join(dst, file)
Expand All @@ -61,16 +61,20 @@ const pkgJson = {
postinstall: 'node postinstall.js',
},
bin: {
'res-react-intl-ppx': 'ppx.exe',
'res-react-intl-extract': 'extract.exe',
'res-react-intl-ppx.exe': 'ppx.exe',
'res-react-intl-extract.exe': 'extract.exe',
'res-react-intl-ppx': 'ppx',
'res-react-intl-extract': 'extract',
},
files: [
'platform-windows-x64/',
'platform-linux-x64/',
'platform-darwin-x64/',
'postinstall.js',
'ppx.exe',
'ppx',
'extract.exe',
'extract',
'vendors/',
'bsconfig.json',
],
Expand Down

0 comments on commit 0edc161

Please sign in to comment.