Skip to content

Commit

Permalink
tag v0.6.0
Browse files Browse the repository at this point in the history
  • Loading branch information
fiatjaf committed Nov 4, 2024
1 parent 0449e85 commit af01320
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 25 deletions.
23 changes: 2 additions & 21 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,18 +1,7 @@
# based on https://gist.github.com/passcod/4b382bc836456b77249b
#
# befofe hitting 'make' you should have a shell with emconfigure and emcc.
# install emscripten and follow instructions here:
# https://kripken.github.io/emscripten-site/docs/tools_reference/emsdk.html
# basically you must call (on bash):
# ~/emsdk-portable/emsdk update
# ~/emsdk-portable/emsdk install latest
# ~/emsdk-portable/emsdk activate latest
# source ~/emsdk-portable/emsdk_env.sh

all: jq.js jq.wasm

clean:
rm -f jq jq.*
rm -fr jq jq.*

jq/configure:
git submodule update --init
Expand All @@ -36,13 +25,5 @@ jq.wasm: jq/jq jq/jq.wasm
cp -f jq/jq.wasm .

@PHONY:
test: jq.js node_modules/.bin/tape
test: jq.js
node test.js

node_modules/.bin/tape: node_modules

node_modules/.bin/uglifyjs: node_modules

@PHONY:
node_modules:
npm install
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"name": "jq-web",
"version": "0.5.1",
"version": "0.6.0",
"description": "a hack that makes jq run in the browser with emscripten.",
"main": "jq.asm.bundle.min.js",
"main": "jq.js",
"scripts": {
"test": "make test"
},
Expand All @@ -24,8 +24,8 @@
},
"homepage": "https://github.com/fiatjaf/jq-web#readme",
"devDependencies": {
"esbuild": "^0.24.0",
"tape": "^4.9.1",
"uglify-es": "^3.3.9",
"live-server": "^1.2.0"
"uglify-es": "^3.3.9"
}
}

0 comments on commit af01320

Please sign in to comment.