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 Voting { | |
export interface Voter { | |
votes : number; | |
castVote() : void; | |
} | |
class VotingMachine implements Voter { | |
constructor(public votes : number = 0) { |
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
gulp.task('webjob', function() { | |
var webjob = "feedFetcher.zip"; | |
del(webjob) | |
return gulp.src(['parsers/*.js', 'package.json', 'feedFetcher.js'], {base: "."}) | |
.pipe(zip(webjob)) | |
.pipe(gulp.dest('.')); | |
}); |
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
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: | |
:: Deployment | |
:: ---------- | |
:: << Other steps from your file omitted here >> | |
:: 3. Install npm packages (remove the --production switch!) | |
IF EXIST "%DEPLOYMENT_TARGET%\package.json" ( | |
pushd "%DEPLOYMENT_TARGET%" | |
call :ExecuteCmd !NPM_CMD! install |