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
import * as Phaser from 'phaser'; | |
import IntroScene from './scenes/intro.scene'; | |
export class PhaserGame { | |
gameConfig = { | |
type: Phaser.AUTO, | |
width: 800, | |
height: 600, | |
physics: { | |
default: 'arcade', |
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
param([string]$link, [string]$sas, [string]$tenantName) | |
Start-Sleep -s 15 | |
$contentType = "application/vnd.swagger.link+json" | |
$apiId = $sas.substring($sas.indexOf("uid=") + 4); | |
$apiId = $apiId.substring(0, $apiId.indexOf("&ex=")); | |
$apiUri = "https://$tenantName.management.azure-api.net/apis/{0}?api-version=2014-02-14-preview&import=true" -f $apiId |
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
$apicontext = New-AzureApiManagementContext -ResourceGroupName "Api-Default-West-Europe" -ServiceName "***" | |
Import-AzureApiManagementApi -SpecificationUrl "http://***.azurewebsites.net/swagger/docs/v1" -SpecificationFormat Swagger -Path "suffix" -ApiId importedid -Context $apicontext |
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
Write-Host "Executing Script OrganizeDropArtifacts" | |
$PackageFolder = $env:TF_BUILD_BINARIESDIRECTORY + "\Package" | |
new-item $PackageFolder -itemtype directory | |
Write-Host "Created new folder $PackageFolder" | |
# Copy package directories + rename (generic for all packages) | |
Get-ChildItem -Path $env:TF_BUILD_BINARIESDIRECTORY -Filter "*_Package" -Recurse | Where-Object { $_.Attributes -eq "Directory"} | ForEach-Object { | |
Write-Host $_.FullName |
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
Run optional script after MSBuild00:00:23 | |
C:\Windows\System32\WindowsPowerShell\v1.0\powershell.exe -ExecutionPolicy RemoteSigned -NoProfile -NonInteractive -File "C:\a\src\OrganizeDropArtifacts.ps1" | |
Executing Script OrganizeDropArtifacts | |
Directory: C:\a\bin | |
Mode LastWriteTime Length Name | |
---- ------------- ------ ---- | |
d---- 12/19/2014 10:45 PM Package | |
Created new folder C:\a\bin\Package | |
C:\a\bin\Codit.Blog.JsVsoBuild\_PublishedWebsites\Codit.Blog.JsVsoBuild_Package | |
d---- 12/19/2014 10:45 PM Javascript_Output |
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
<Project> | |
<Target Name="TfsOnlineBuild" DependsOnTargets="Build" /> | |
</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
Build started 12/19/2014 11:27:01 PM. | |
1>Project "C:\a\src\Codit.Blog.JsVsoBuild\Codit.Blog.JsVsoBuild.csproj" on node 1 (TfsOnlineBuild target(s)). | |
1>ValidateGlobalPackageSetting: | |
$(PackageAsSingleFile) is True | |
$(PackageFileName) is C:\a\bin\Codit.Blog.JsVsoBuild\_PublishedWebsites\Codit.Blog.JsVsoBuild_Package\Codit.Blog.JsVsoBuild.zip. Validating... | |
PreBuildEvent: | |
if 'Release'=='Release' call "C:\a\src\Codit.Blog.JsVsoBuild\..\gruntCI.bat" "release" "C:\a\src\Codit.Blog.JsVsoBuild\" | |
'starting gruntCI.bat' | |
[4mRunning "karma:unit" (karma) task[24m | |
[32mINFO [karma]: [39mKarma v0.12.28 server started at http://localhost:9876/ |
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
set TaskName=%1 | |
set ProjectPath=%2 | |
echo 'starting gruntCI.bat' | |
cd "%ProjectPath%" | |
REM Get to the solution root. | |
cd .. | |
attrib -r /S | |
cd "node_modules\.bin\" | |
call grunt.cmd %TaskName% --force |
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
if '$(Configuration)'=='Release' call "$(ProjectDir)..\gruntCI.bat" "release" "$(ProjectDir)" |
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
module.exports = function(grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
karma: { | |
unit: { | |
configFile: 'karma.phantomjs.conf.js' | |
} | |
}, | |
jshint: { | |
all: ['Gruntfile.js', 'Codit.Blog.JsVsoBuild/app/**/*.js', 'Codit.Blog.JsVsoBuild/test/**/*.js'], |
NewerOlder