TypeScript continuous integration starter project using Gradle, Node.JS, Jasmine, and PhantomJS.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
spec
src
tools
.gitignore
README.md
build.gradle
index.html
main.js
require-main.js

README.md

TypeScript Continuous Integration Starter Project

Utilizes Require.JS for AMD loading

This is just a barebones project CI project for TypeScript development. This should be compatible with most CI servers such as Jenkins/Hudson given that they can use gradle and node.

Requirements for building

  • gradle 1.0+
  • node and the TypeScript node module
  • To get install TypeScript on node: npm install -g typescript

Getting started

  • Run: gradle build

Changing build to use a different starting source file

  • Open build.gradle
  • Change "mainModule" on line #4 from "Sample" to the name of your new source file

Running Unit Tests

  • Command: gradle build or Open "index.html" in your browser of choice

Removing all generated js files

  • Command: gradle clean

Creating Minified Javascript Library

  • Command: gradle minify
  • Resulting file is located within the target folder