-
Notifications
You must be signed in to change notification settings - Fork 147
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #246 from godenji/0.2.2
0.2.2 release
- Loading branch information
Showing
23 changed files
with
352 additions
and
36 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,24 +1,13 @@ | ||
target/ | ||
!scalariform.update/target/ | ||
lib_managed/ | ||
src_managed/ | ||
project/boot/ | ||
bin/ | ||
.scala_dependencies | ||
core/target/ | ||
core/lib_managed/ | ||
core/src_managed/ | ||
gui/target/ | ||
gui/lib_managed/ | ||
gui/src_managed/ | ||
corpusscan/target/ | ||
corpusscan/lib_managed/ | ||
corpusscan/src_managed/ | ||
docs/build | ||
nohup.out | ||
.history | ||
.cache | ||
.idea/ | ||
.settings | ||
.classpath | ||
.project | ||
.cache* | ||
*~ |
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
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
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
2 changes: 1 addition & 1 deletion
2
cli/src/main/scala/scalariform/commandline/ScalaFileWalker.scala
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,182 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<groupId>org.scalariform</groupId> | ||
<artifactId>scalariform.parent</artifactId> | ||
<version>0.2.2</version> | ||
<packaging>pom</packaging> | ||
|
||
<!-- scm configuration is require to extract the github hash--> | ||
<scm> | ||
<connection>scm:git://github.com/scala-ide/scalariform.git</connection> | ||
<url>https://github.com/scala-ide/scalariform</url> | ||
</scm> | ||
|
||
<properties> | ||
<encoding>UTF-8</encoding> | ||
<tycho.version>0.24.0</tycho.version> | ||
<scala.version>2.12.2</scala.version> | ||
<scala.xml.version>1.0.6</scala.xml.version> | ||
<scala.parser-combinators.version>1.0.6</scala.parser-combinators.version> | ||
<scala.version.suffix>2_12</scala.version.suffix> | ||
</properties> | ||
|
||
<modules> | ||
<module>scalariform</module> | ||
<module>scalariform.feature</module> | ||
<module>scalariform.update</module> | ||
</modules> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.scala-lang</groupId> | ||
<artifactId>scala-library</artifactId> | ||
<version>${scala.version}</version> | ||
</dependency> | ||
</dependencies> | ||
<build> | ||
<pluginManagement> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>tycho-versions-plugin</artifactId> | ||
<version>${tycho.version}</version> | ||
</plugin> | ||
</plugins> | ||
</pluginManagement> | ||
<plugins> | ||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>tycho-maven-plugin</artifactId> | ||
<version>${tycho.version}</version> | ||
<extensions>true</extensions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>target-platform-configuration</artifactId> | ||
<version>${tycho.version}</version> | ||
<configuration> | ||
<resolver>p2</resolver> | ||
<pomDependencies>consider</pomDependencies> | ||
</configuration> | ||
</plugin> | ||
<!-- git hash extractor --> | ||
<plugin> | ||
<!-- plugin used to extract the git hash and store it in ${buildNumber} --> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>buildnumber-maven-plugin</artifactId> | ||
<version>1.1</version> | ||
<executions> | ||
<execution> | ||
<phase>validate</phase> | ||
<goals> | ||
<goal>create</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
<configuration> | ||
<doCheck>false</doCheck> | ||
<doUpdate>false</doUpdate> | ||
<shortRevisionLength>7</shortRevisionLength> | ||
</configuration> | ||
</plugin> | ||
<!-- for setting a better qualifier --> | ||
<plugin> | ||
<groupId>org.eclipse.tycho</groupId> | ||
<artifactId>tycho-packaging-plugin</artifactId> | ||
<version>${tycho.version}</version> | ||
<configuration> | ||
<format>'${scala.version.suffix}-'yyyyMMddHHmm'-${buildNumber}'</format> | ||
<archiveSite>true</archiveSite> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>net.alchim31.maven</groupId> | ||
<artifactId>scala-maven-plugin</artifactId> | ||
<version>3.2.1</version> | ||
<executions> | ||
<execution> | ||
<goals> | ||
<goal>add-source</goal> | ||
<goal>compile</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
<configuration> | ||
<scalaVersion>${scala.version}</scalaVersion> | ||
<jvmArgs> | ||
<jvmArg>-Xmx1024m</jvmArg> | ||
<jvmArg>-Xss4m</jvmArg> | ||
</jvmArgs> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
<repositories> | ||
<repository> | ||
<id>neon</id> | ||
<layout>p2</layout> | ||
<url>http://download.eclipse.org/releases/neon</url> | ||
</repository> | ||
<repository> | ||
<id>sonatype.release</id> | ||
<name>Sonatype maven release repository</name> | ||
<url>https://oss.sonatype.org/content/repositories/releases/</url> | ||
<snapshots><enabled>false</enabled></snapshots> | ||
</repository> | ||
<repository> | ||
<id>sonatype.snapshot</id> | ||
<name>Sonatype maven snapshot repository</name> | ||
<url>https://oss.sonatype.org/content/repositories/snapshots</url> | ||
<snapshots> | ||
<updatePolicy>daily</updatePolicy> | ||
</snapshots> | ||
</repository> | ||
</repositories> | ||
<profiles> | ||
<profile> | ||
<id>scala-2.10.x</id> | ||
<properties> | ||
<scala.version>2.10.6</scala.version> | ||
</properties> | ||
</profile> | ||
<profile> | ||
<id>scala-2.11.x</id> | ||
<properties> | ||
<scala.version>2.11.11</scala.version> | ||
<version.suffix>2.11</version.suffix> | ||
</properties> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.scala-lang.modules</groupId> | ||
<artifactId>scala-xml_${version.suffix}</artifactId> | ||
<version>${scala.xml.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.scala-lang.modules</groupId> | ||
<artifactId>scala-parser-combinators_${version.suffix}</artifactId> | ||
<version>${scala.parser-combinators.version}</version> | ||
</dependency> | ||
</dependencies> | ||
</profile> | ||
<profile> | ||
<id>scala-2.12.x</id> | ||
<properties> | ||
<scala.version>2.12.2</scala.version> | ||
<version.suffix>2.12</version.suffix> | ||
</properties> | ||
<dependencies> | ||
<dependency> | ||
<groupId>org.scala-lang.modules</groupId> | ||
<artifactId>scala-xml_${version.suffix}</artifactId> | ||
<version>${scala.xml.version}</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.scala-lang.modules</groupId> | ||
<artifactId>scala-parser-combinators_${version.suffix}</artifactId> | ||
<version>${scala.parser-combinators.version}</version> | ||
</dependency> | ||
</dependencies> | ||
</profile> | ||
</profiles> | ||
</project> |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
bin.includes = feature.xml |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<feature | ||
id="scalariform.feature" | ||
label="Scalariform" | ||
version="0.2.2"> | ||
|
||
<description> | ||
Scala Code formatter | ||
</description> | ||
|
||
<license> | ||
The MIT License | ||
|
||
Copyright (c) 2010 Matthew D. Russell | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
"Software"), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and | ||
to permit persons to whom the Software is furnished to do so, | ||
subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES | ||
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE | ||
FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION | ||
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION | ||
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. | ||
</license> | ||
|
||
<requires> | ||
<import plugin="org.eclipse.core.resources"/> | ||
<import plugin="org.eclipse.core.runtime"/> | ||
<import plugin="org.eclipse.jdt.core"/> | ||
<import plugin="org.eclipse.jdt.ui"/> | ||
<import plugin="org.eclipse.jface.text"/> | ||
<import plugin="org.eclipse.text"/> | ||
<import plugin="org.eclipse.ui"/> | ||
<import plugin="org.eclipse.ui.editors"/> | ||
<import plugin="org.eclipse.ui.views"/> | ||
</requires> | ||
|
||
<plugin | ||
id="scalariform" | ||
download-size="0" | ||
install-size="0" | ||
version="0.0.0" | ||
unpack="false"/> | ||
|
||
</feature> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | ||
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<artifactId>scalariform.feature</artifactId> | ||
<packaging>eclipse-feature</packaging> | ||
<parent> | ||
<artifactId>scalariform.parent</artifactId> | ||
<groupId>org.scalariform</groupId> | ||
<version>0.2.2</version> | ||
</parent> | ||
</project> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" | ||
xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> | ||
<modelVersion>4.0.0</modelVersion> | ||
<artifactId>scalariform.update</artifactId> | ||
<packaging>eclipse-update-site</packaging> | ||
<parent> | ||
<artifactId>scalariform.parent</artifactId> | ||
<groupId>org.scalariform</groupId> | ||
<version>0.2.2</version> | ||
</parent> | ||
</project> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<site> | ||
<description name="Scalariform Update Site" | ||
url="https://github.com/scala-ide/scalariform/tree/0.2.2/scalariform.update/target/site"> | ||
Scalariform Update Site | ||
</description> | ||
<feature url="features/scalariform.feature_0.2.2.jar" version="0.2.2" id="scalariform.feature"> | ||
<category name="Scala"/> | ||
</feature> | ||
<category-def name="Scala" label="Scala"/> | ||
</site> |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+1.37 KB
scalariform.update/target/site/features/scalariform.feature_0.2.2.jar
Binary file not shown.
Binary file not shown.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<site> | ||
<description name="Scalariform Update Site" | ||
url="https://github.com/scala-ide/scalariform/tree/0.2.2/scalariform.update/target/site"> | ||
Scalariform Update Site | ||
</description> | ||
<feature url="features/scalariform.feature_0.2.2.jar" version="0.2.2" id="scalariform.feature"> | ||
<category name="Scala"/> | ||
</feature> | ||
<category-def name="Scala" label="Scala"/> | ||
</site> |
Binary file not shown.
Oops, something went wrong.