8000 GitHub - wpraet/coffee-maven-plugin: Apache Maven Plugin for Coffeescript · GitHub
[go: up one dir, main page]

Skip to content

About

Apache Maven Plugin for Coffeescript

Resources

Stars

1 star

Watchers

1 watching

Forks

 
 

Latest commit

 

History

26 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

Coffeescript Maven Plugin

Configuration options shown are default values and can be ignored for normal use.

<build>
  <plugins>
    <plugin>
      <groupId>com.theoryinpractise</groupId>
      <artifactId>coffee-maven-plugin</artifactId>
      <version>1.1.2</version>
      <configuration>
        <coffeeDir>src/main/coffee</coffeeDir>
        <outputDirectory>${project.build.directory}/coffee</outputDirectory>
        <bare>false</bare>
      </configuration>
      <executions>
        <execution>
          <id>coffee</id>
          <goals>
            <goal>coffee</goal>
          </goals>
        </execution>
      </executions>
    </plugin>
  </plugins>
</build>

Coffee files can be joined into a single .js file but configuring elements:

<configuration>
  <joinSets>
    <joinSet>
      <id>main</id>
      <files>
        <file>file1.coffee</file>
        <file>file2.coffee</file>
      </files>
    </joinSet>
  </joinSets>
</configuration>

The above configuration will join file1.coffee, and file2.coffee found in the and compile them into the file main.js. Any other .coffee files found will compile into their respective .js file as normal.

About

Apache Maven Plugin for Coffeescript

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0