Skip to content

Commit

Permalink
minor bugfixes
Browse files Browse the repository at this point in the history
  • Loading branch information
billywhizz committed Jul 18, 2021
1 parent 0d8f9f7 commit 48228c6
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:

- name: Build
run:
make runtime
make runtime-static

- name: Binary publish
uses: softprops/action-gh-release@v1
Expand Down
4 changes: 3 additions & 1 deletion config.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,9 @@ const embeds = [
'main.cc',
'just.h',
'just.js',
'config.js'
'config.js',
'lib/websocket.js',
'lib/inspector.js'
]

const target = 'just'
Expand Down
2 changes: 1 addition & 1 deletion lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ function init (name) {
}
chdir(name)
safeWrite('config.json', JSON.stringify({ target: name, index: `${name}.js`, static: true }, null, ' '))
safeWrite(`${name}.js`, 'just.print(just.memoryUsage(new BigUint64Array(16))[0])\n')
safeWrite(`${name}.js`, 'just.print(just.memoryUsage().rss)\n')
chdir('../')
}

Expand Down

0 comments on commit 48228c6

Please sign in to comment.