-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #34 from FGasper/issue_33_modern_emscripten
Update for current Emscripten and JQ.
- Loading branch information
Showing
13 changed files
with
3,721 additions
and
253 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
on: | ||
push: | ||
branches: | ||
- '*' | ||
tags-ignore: | ||
- '*' | ||
pull_request: | ||
|
||
jobs: | ||
# As of this writing, Ubuntu’s emscripten doesn’t accommodate | ||
# the Node.js bug described in | ||
# https://github.com/emscripten-core/emscripten/issues/16913. | ||
# | ||
# So no Linux for now. | ||
mac: | ||
runs-on: macOS-latest | ||
steps: | ||
- run: node --version | ||
- uses: actions/checkout@main | ||
- run: brew install emscripten autoconf automake libtool | ||
- run: make test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
[submodule "jq"] | ||
path = jq | ||
url = git@github.com:stedolan/jq.git | ||
url = https://github.com/jqlang/jq |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ jq | |
node_modules | ||
.* | ||
Makefile | ||
extern-post.js | ||
post.js | ||
pre.js | ||
index.html | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
jq = jq().then( module => { | ||
return { json: module.json, raw: module.raw }; | ||
} ); | ||
|
||
if (typeof exports === 'object' && typeof module === 'object') | ||
module.exports = jq; | ||
else if (typeof exports === 'object') | ||
exports["jq"] = jq; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.