Skip to content

Commit

Permalink
Ready for Travis CI build; logo, marketplace entry ( refs eclipsesour…
Browse files Browse the repository at this point in the history
  • Loading branch information
paulvi committed Oct 2, 2013
1 parent 9ba82ca commit 7ce828f
Show file tree
Hide file tree
Showing 4 changed files with 135 additions and 1 deletion.
1 change: 1 addition & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
language: java
16 changes: 15 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
JSHint integration for the Eclipse IDE
======================================

![](jshint-blue.png)
<a href="http://marketplace.eclipse.org/marketplace-client-intro?mpc_install=1157104" title="Drag and drop into a running Eclipse Indigo workspace to install JSHint Eclipse">
<img src="http://marketplace.eclipse.org/sites/all/modules/custom/marketplace/images/installbutton.png"/>
</a>

[JSHint](http://www.jshint.com/about/) is a popular, community-driven tool to detect
errors and potential problems in JavaScript code. This project integrates JSHint into
the Eclipse IDE. It automatically validates \*.js files and adds warning markers for
every problem found by JSHint.

Please see the [project page](http://github.eclipsesource.com/jshint-eclipse/)
for details on features and usage.
for details on features and usage. ([Published on Eclipse Marketplace](<http://marketplace.eclipse.org/content/jshint-eclipse>))

Requirements
------------
Expand All @@ -24,6 +29,15 @@ Installation

Install from this Eclipse update site: http://github.eclipsesource.com/jshint-eclipse/updates/

Travis CI build
---------------

EclipseSource: [![Build Status](https://secure.travis-ci.org/eclipsesource/jshint-eclipse.png)](http://travis-ci.org/eclipsesource/jshint-eclipse)
Nodeclipse: [![Build Status](https://secure.travis-ci.org/Nodeclipse/jshint-eclipse.png)](http://travis-ci.org/Nodeclipse/jshint-eclipse)

For Travis CI `pom.xml` from `releng\com.eclipsesource.jshint.build` was copied into base folder,
paths in this pom.xml changes, all other files untouched.

License
-------

Expand Down
Binary file added jshint-blue.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
119 changes: 119 additions & 0 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<properties>
<tycho-version>0.16.0</tycho-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>

<prerequisites>
<maven>3.0</maven>
</prerequisites>

<name>jshint-eclipse</name>

<groupId>com.eclipsesource.jshint</groupId>
<artifactId>com.eclipsesource.jshint.releng</artifactId>
<version>0.9.8-SNAPSHOT</version>
<packaging>pom</packaging>

<modules>
<module>bundles/com.eclipsesource.jshint</module>
<module>bundles/com.eclipsesource.jshint.ui</module>
<module>tests/com.eclipsesource.jshint.test</module>
<module>tests/com.eclipsesource.jshint.ui.test</module>
<module>releng/com.eclipsesource.jshint.feature</module>
<module>releng/com.eclipsesource.jshint.build/repository</module>
</modules>

<!-- repositories to get pre-built pieces from -->
<repositories>
<repository>
<id>target-repo</id>
<layout>p2</layout>
<url>http://download.eclipse.org/releases/indigo/</url>
</repository>
<repository>
<!-- need stable orbit repository, since latest release does not contain rhino 1.7.4 -->
<id>orbit-stable-repo</id>
<layout>p2</layout>
<url>http://download.eclipse.org/tools/orbit/downloads/drops/R20130517111416/repository/</url>
</repository>
<repository>
<id>swtbot-repo</id>
<layout>p2</layout>
<url>http://download.eclipse.org/technology/swtbot/helios/dev-build/update-site</url>
</repository>
<repository>
<id>mockito-repo</id>
<layout>p2</layout>
<url>http://download.eclipsesource.com/~rsternberg/mockito-all/</url>
</repository>
</repositories>

<pluginRepositories>
<pluginRepository>
<id>maven.eclipse.org</id>
<url>http://maven.eclipse.org/nexus/content/repositories/milestone-indigo</url>
</pluginRepository>
</pluginRepositories>

<build>
<plugins>

<plugin>
<!-- Enable tycho -->
<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>tycho-packaging-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<format>yyyyMMdd-HHmm</format>
</configuration>
</plugin>

<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-source-plugin</artifactId>
<version>${tycho-version}</version>
<executions>
<execution>
<id>plugin-source</id>
<goals>
<goal>plugin-source</goal>
</goals>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.eclipse.tycho</groupId>
<artifactId>tycho-surefire-plugin</artifactId>
<version>${tycho-version}</version>
<configuration>
<useUIHarness>true</useUIHarness>
<appArgLine>-nl en -consoleLog</appArgLine>
<includes>
<include>**/*Test.*</include>
</includes>
<runOrder>random</runOrder>
<dependency>
<type>eclipse-feature</type>
<artifactId>org.eclipse.rcp</artifactId>
<version>0.0.0</version>
</dependency>
</configuration>
</plugin>
</plugins>
</build>

</project>

0 comments on commit 7ce828f

Please sign in to comment.