Skip to content

Commit

Permalink
Merge branch 'release/0.7.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
pmlopes committed Jan 10, 2019
2 parents 9c320e1 + 834d72f commit 28b9b7f
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 11 deletions.
4 changes: 2 additions & 2 deletions codegen/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
<parent>
<groupId>io.reactiverse</groupId>
<artifactId>es4x-parent</artifactId>
<version>0.7.0</version>
<version>0.7.1</version>
<relativePath>..</relativePath>
</parent>

<modelVersion>4.0.0</modelVersion>

<artifactId>es4x-codegen</artifactId>
<version>0.7.0</version>
<version>0.7.1</version>

<properties>
</properties>
Expand Down
3 changes: 2 additions & 1 deletion docs/index.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
# Fast, unopinionated,<br/> minimalist JavaScript runtime for [Vert.x](https://vertx.io)

```
npx es4x-cli init
$ npm install -g es4x-pm
$ es4x
```

[![Travis branch](https://img.shields.io/travis/reactiverse/es4x/master.svg?style=for-the-badge)](https://travis-ci.com/reactiverse/es4x)
Expand Down
4 changes: 2 additions & 2 deletions es4x/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
<parent>
<groupId>io.reactiverse</groupId>
<artifactId>es4x-parent</artifactId>
<version>0.7.0</version>
<version>0.7.1</version>
<relativePath>..</relativePath>
</parent>

<modelVersion>4.0.0</modelVersion>

<artifactId>es4x</artifactId>
<version>0.7.0</version>
<version>0.7.1</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
4 changes: 2 additions & 2 deletions pm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@
<parent>
<groupId>io.reactiverse</groupId>
<artifactId>es4x-parent</artifactId>
<version>0.7.0</version>
<version>0.7.1</version>
<relativePath>..</relativePath>
</parent>

<modelVersion>4.0.0</modelVersion>

<artifactId>es4x-pm</artifactId>
<version>0.7.0</version>
<version>0.7.1</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
11 changes: 10 additions & 1 deletion pm/src/assembly/bin/es4x
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
#!/bin/sh
(set -o igncr) 2>/dev/null && set -o igncr; # cygwin encoding fix

basedir=`dirname "$0"`
# fight simlinks and avoid readlink -f which doesn't exist on Darwin and Solaris
pushd . > /dev/null
basedir="${BASH_SOURCE[0]}";
while([ -h "${basedir}" ]); do
cd "`dirname "${basedir}"`"
basedir="$(readlink "`basename "${basedir}"`")";
done
cd "`dirname "${basedir}"`" > /dev/null
basedir="`pwd`";
popd > /dev/null

case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ public void run() throws CLIException {
if (in == null) {
throw new IllegalStateException("Cannot load .dockerignore template.");
}
Files.copy(in, dockerfile.toPath());
Files.copy(in, dockerignore.toPath());
} catch (IOException e) {
throw new CLIException(e.getMessage(), e);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -283,7 +283,16 @@ private void createUNIXScript(File bin, String launcher) throws IOException {
"#!/bin/sh\n" +
"(set -o igncr) 2>/dev/null && set -o igncr; # cygwin encoding fix\n" +
"\n" +
"basedir=`dirname \"$0\"`\n" +
"# fight simlinks and avoid readlink -f which doesn't exist on Darwin and Solaris\n" +
"pushd . > /dev/null\n" +
"basedir=\"${BASH_SOURCE[0]}\";\n" +
"while([ -h \"${basedir}\" ]); do\n" +
" cd \"`dirname \"${basedir}\"`\"\n" +
" basedir=\"$(readlink \"`basename \"${basedir}\"`\")\";\n" +
"done\n" +
"cd \"`dirname \"${basedir}\"`\" > /dev/null\n" +
"basedir=\"`pwd`\";\n" +
"popd > /dev/null\n" +
"\n" +
"case `uname` in\n" +
" *CYGWIN*) basedir=`cygpath -w \"$basedir\"`;;\n" +
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<groupId>io.reactiverse</groupId>
<artifactId>es4x-parent</artifactId>
<version>0.7.0</version>
<version>0.7.1</version>
<packaging>pom</packaging>

<properties>
Expand Down

0 comments on commit 28b9b7f

Please sign in to comment.