Skip to content

Commit

Permalink
release 2.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
siordache committed May 19, 2017
1 parent 4e30ae0 commit 596968f
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 0 deletions.
12 changes: 12 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -402,3 +402,15 @@ bintray {
}
}
}

task prepareNpm(type: Copy) {
from "text-io-web/src/main/resources/public-html/textterm"
into "build/npm"
filter(ReplaceTokens, tokens:[textIoVersion : textIoVersion])
filesMatching('*.js') {
filter { String line -> line.replace("var createTextTerm =", "exports.createTextTerm =") }
}
filteringCharset = 'UTF-8'
}

build.dependsOn prepareNpm
4 changes: 4 additions & 0 deletions text-io-web/src/main/resources/public-html/textterm/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
The client-side library required by a [Text-IO](https://github.com/beryx/text-io) application that uses a web-based terminal.


[Documentation](http://text-io.beryx.org/releases/@textIoVersion@/#web_text_term)
11 changes: 11 additions & 0 deletions text-io-web/src/main/resources/public-html/textterm/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "text-io",
"version": "@textIoVersion@",
"description": "The client-side library required by a Text-IO application that uses the WebTextTerminal.",
"main": "textterm.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Serban Iordache (http://www.beryx.org)",
"license": "Apache-2.0"
}

0 comments on commit 596968f

Please sign in to comment.