Repository: flex-asjs Updated Branches: refs/heads/develop 17ad36d96 -> aba622ee8
- Added support for compiling the examples to JavaScript (Currently the build seems to produce invalid output) Project: http://git-wip-us.apache.org/repos/asf/flex-asjs/repo Commit: http://git-wip-us.apache.org/repos/asf/flex-asjs/commit/aba622ee Tree: http://git-wip-us.apache.org/repos/asf/flex-asjs/tree/aba622ee Diff: http://git-wip-us.apache.org/repos/asf/flex-asjs/diff/aba622ee Branch: refs/heads/develop Commit: aba622ee8793a53f1a29c81ffa9c3b28e50a9569 Parents: 17ad36d Author: Christofer Dutz <[email protected]> Authored: Tue Jun 28 14:13:13 2016 +0200 Committer: Christofer Dutz <[email protected]> Committed: Tue Jun 28 14:13:13 2016 +0200 ---------------------------------------------------------------------- examples/pom.xml | 13 +++++++++++++ 1 file changed, 13 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/flex-asjs/blob/aba622ee/examples/pom.xml ---------------------------------------------------------------------- diff --git a/examples/pom.xml b/examples/pom.xml index 6546532..b1a265b 100644 --- a/examples/pom.xml +++ b/examples/pom.xml @@ -46,6 +46,19 @@ <artifactId>flexjs-maven-plugin</artifactId> <version>0.7.0-SNAPSHOT</version> <extensions>true</extensions> + <executions> + <!-- Add a second execution with output set to JavaScript (Flash is the default) --> + <execution> + <id>compile-javascript</id> + <phase>compile</phase> + <goals> + <goal>compile-app</goal> + </goals> + <configuration> + <outputJavaScript>true</outputJavaScript> + </configuration> + </execution> + </executions> <configuration> <targetPlayer>20.0</targetPlayer> </configuration>
