Skip to content
This repository has been archived by the owner on Oct 9, 2020. It is now read-only.

Commit

Permalink
Merge pull request #14 from aguacongas/dev
Browse files Browse the repository at this point in the history
push last dev version to master
  • Loading branch information
aguacongas committed Jan 2, 2016
2 parents 4f6b005 + f946457 commit 5338b01
Show file tree
Hide file tree
Showing 112 changed files with 9,775 additions and 49,457 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@ bld/
[Oo]bj/
node_modules/
bower_components/
wwwroot/lib/
**/wwwroot/lib/
.vs/

# Roslyn cache directories
*.ide/
Expand Down
33 changes: 33 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
language: csharp
sudo: required
dist: trusty
addons:
apt:
packages:
- gettext
- libcurl4-openssl-dev
- libicu-dev
- libssl-dev
- libunwind8
- zlib1g
before_install:
- chmod +x build.sh
- if test "$TRAVIS_OS_NAME" == "osx"; then brew update; brew install icu4c; fi
env:
- KOREBUILD_DNU_RESTORE_CORECLR=true KOREBUILD_TEST_DNXCORE=true
install:
- curl -sSL https://github.com/libuv/libuv/archive/v1.4.2.tar.gz | tar zxfv - -C /tmp && cd /tmp/libuv-1.4.2/
- sh autogen.sh
- ./configure --prefix=$HOME/libuvinstall
- make
- make install
- export LD_LIBRARY_PATH="$HOME/libuvinstall/lib"
- cd $OLDPWD
mono:
- latest
os:
- linux
- osx
osx_image: xcode7.1
script:
- ./build.sh --quiet verify
1,977 changes: 0 additions & 1,977 deletions .vs/config/applicationhost.config

This file was deleted.

36 changes: 36 additions & 0 deletions Env.shade
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
use namespace="System"

functions
@{
string CreateDayBasedVersionNumber()
{
var start = new DateTime(2015, 1, 1);
var now = DateTime.UtcNow;

string version = "0";
// If the computer date is set before the start date, then the version is 0
if (now >= start)
{
var yearsSinceStart = (now.Year - start.Year) + 1;
version = yearsSinceStart + now.ToString("MMdd");
}

return version;
}

string BuildNumber
{
get
{
return "rc1-" + DateTime.UtcNow.ToString("yyMMddHHmmss");
}
}

bool IsBuildV2
{
get
{
return Environment.GetEnvironmentVariable("KOREBUILD_BUILD_V2") == "1";
}
}
}
1 change: 1 addition & 0 deletions NuGet.Config
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,6 @@
<packageSources>
<add key="api.nuget.org" value="https://api.nuget.org/v3/index.json" />
<add key="aspnetmaster" value="https://www.myget.org/F/aspnetmaster/api/v3/index.json" />
<add key="nuget.org" value="https://www.nuget.org/api/v2/" />
</packageSources>
</configuration>
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
chatle
======
AppVeyor build status: [![Build status](https://ci.appveyor.com/api/projects/status/4q8ib00p44p1n6wv/branch/master?svg=true)](https://ci.appveyor.com/project/aguacongas/chatle/branch/master)
AppVeyor build status: [![Build status](https://ci.appveyor.com/api/projects/status/4q8ib00p44p1n6wv/branch/dev?svg=true)](https://ci.appveyor.com/project/aguacongas/chatle/branch/dev)

Latest version on myget: [![version](https://img.shields.io/myget/chatle/v/ChatLe.HttpUtility.svg?style=flat)](https://www.myget.org/F/chatle/)
Travis build status: [![Build Status](https://travis-ci.org/aguacongas/chatle.svg?branch=dev)](https://travis-ci.org/aguacongas/chatle)

Latest version on myget: [![version](https://img.shields.io/myget/chatle/v/ChatLe.Repository.svg?style=flat)](https://www.myget.org/F/chatle/)

Code coverage: [![Coverage Status](https://coveralls.io/repos/aguacongas/chatle/badge.svg?branch=dev&service=github)](https://coveralls.io/github/aguacongas/chatle?branch=dev)

chatle is projects samples for

Expand Down
22 changes: 22 additions & 0 deletions _chutzpah.shade
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
@{/*

chutzpah
Run opencover on unittest in your project

projectFile=''
Required. Path to the test chutzpah.json to execute

*/}

@{
var chutzpahLocation = Path.Combine(Path.Combine(Path.Combine("packages"
, "Chutzpah")
, "tools")
, "chutzpah.console.exe");

var projectFolder = Path.GetDirectoryName(projectFile);

var args = projectFile + ' /nologo /silent /coverage /coveragehtml artifacts/js-coverage.html /junit ' + Path.Combine(projectFolder, "chutzpah-result.xml");

Exec(chutzpahLocation, args);
}
Loading

0 comments on commit 5338b01

Please sign in to comment.