mirror of
https://github.com/i-net-software/JWebAssembly.git
synced 2025-03-25 07:27:52 +01:00
Add coverage test
This commit is contained in:
parent
c8ef4fd3c7
commit
906e5e0481
@ -3,6 +3,7 @@ JWebAssembly
|
|||||||
|
|
||||||
[](https://travis-ci.org/i-net-software/JWebAssembly)
|
[](https://travis-ci.org/i-net-software/JWebAssembly)
|
||||||
[](https://github.com/i-net-software/jwebassembly/blob/master/LICENSE.txt)
|
[](https://github.com/i-net-software/jwebassembly/blob/master/LICENSE.txt)
|
||||||
|
[](https://coveralls.io/github/i-net-software/JWebAssembly?branch=master)
|
||||||
|
|
||||||
JWebAssembly is a Java to [WebAssembly](http://webassembly.org/) compiler. It uses Java class files as input. That it can compile any language that compile to Java bytecode.
|
JWebAssembly is a Java to [WebAssembly](http://webassembly.org/) compiler. It uses Java class files as input. That it can compile any language that compile to Java bytecode.
|
||||||
As output it generates the binary format (.wasm file) or the text format (.wat file).
|
As output it generates the binary format (.wasm file) or the text format (.wat file).
|
||||||
|
18
build.gradle
18
build.gradle
@ -4,6 +4,8 @@ plugins {
|
|||||||
|
|
||||||
apply plugin: 'java'
|
apply plugin: 'java'
|
||||||
|
|
||||||
|
version = '0.1'
|
||||||
|
|
||||||
repositories {
|
repositories {
|
||||||
jcenter()
|
jcenter()
|
||||||
}
|
}
|
||||||
@ -56,3 +58,19 @@ test {
|
|||||||
testLogging.exceptionFormat = 'full'
|
testLogging.exceptionFormat = 'full'
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/****************************************
|
||||||
|
* Coverage
|
||||||
|
****************************************/
|
||||||
|
apply plugin: 'jacoco'
|
||||||
|
apply plugin: 'com.github.kt3k.coveralls'
|
||||||
|
|
||||||
|
jacocoTestReport {
|
||||||
|
tasks.coveralls.dependsOn it
|
||||||
|
reports {
|
||||||
|
xml.enabled = true // coveralls plugin depends on xml format report
|
||||||
|
html.enabled = true
|
||||||
|
}
|
||||||
|
}
|
||||||
|
check.dependsOn tasks.coveralls
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user