Last active
August 29, 2015 14:17
-
-
Save wmono/953240651345e26767e1 to your computer and use it in GitHub Desktop.
tsc-maven-plugin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wmono@kazoo:~/Projects/tsc-maven/tsc-maven-demo-project$ mvn clean compile | |
[INFO] Scanning for projects... | |
[INFO] | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Building Maven TypeScript Compiler Plugin - Demo Project 0-SNAPSHOT | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] | |
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ tsc-maven-demo-project --- | |
[INFO] | |
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tsc-maven-demo-project --- | |
[INFO] Using 'UTF-8' encoding to copy filtered resources. | |
[INFO] skip non existing resourceDirectory /Users/wmono/Projects/tsc-maven/tsc-maven-demo-project/src/main/resources | |
[INFO] | |
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tsc-maven-demo-project --- | |
[INFO] No sources to compile | |
[INFO] | |
[INFO] --- tsc-maven-plugin:0.1.0.BUILD-SNAPSHOT:compile (default) @ tsc-maven-demo-project --- | |
[INFO] Extracting tsc to /Users/wmono/Projects/tsc-maven/tsc-maven-demo-project/target/tsc-maven/typescript | |
[INFO] Preparing Avatar.js native library in /Users/wmono/Projects/tsc-maven/tsc-maven-demo-project/target/tsc-maven/avatar-js | |
[INFO] Starting TypeScript compiler... | |
[INFO] TypeScript compiler exited successfully | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] BUILD SUCCESS | |
[INFO] ------------------------------------------------------------------------ | |
[INFO] Total time: 15.874 s | |
[INFO] Finished at: 2015-03-24T22:29:27-07:00 | |
[INFO] Final Memory: 11M/245M | |
[INFO] ------------------------------------------------------------------------ | |
wmono@kazoo:~/Projects/tsc-maven/tsc-maven-demo-project$ cat src/main/typescript/Hello.ts | |
module Hello { | |
export class Hello { | |
VALUE: number = 5; | |
} | |
} | |
wmono@kazoo:~/Projects/tsc-maven/tsc-maven-demo-project$ cat target/hello.js | |
var Hello; | |
(function (_Hello) { | |
var Hello = (function () { | |
function Hello() { | |
this.VALUE = 5; | |
} | |
return Hello; | |
})(); | |
_Hello.Hello = Hello; | |
})(Hello || (Hello = {})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment