grunt.initConfig({
ripple: {
options: {
path: 'www',
keepAlive: true
}
}
});
var gulp = require('gulp');
var replace = require('gulp-replace-task');
var args = require('yargs').argv;
var fs = require('fs');
gulp.task('replace', function () {
// Get the environment from the command line
var env = args.env || 'localdev';
// localdev.json
{
"apiUrl":"https://dev.coolapp.com/api"
}
// production.json
{
"apiUrl":"https://www.coolapp.com/api"
}
angular.module('coolapp', ['coolapp-constants'])
.service('backendService', function($http, apiUrl){
//Use the apiUrl variable to make API calls
});
angular.module('coolapp', ['coolapp-constants']);
angular.module('coolapp-constants',[])
.constant('apiUrl', '@@apiUrl');
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
# Add Git bin directory to path for this session | |
$env:path += ";" + (Get-Item "Env:ProgramFiles(x86)").Value + "\Git\bin" |
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
[user] | |
name = Jeff French | |
email = jeff.french@moonswitch.com | |
[color] | |
diff = auto | |
status = auto | |
branch = auto | |
interactive = auto | |
ui = auto | |
[gc] |
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
foreach ($proj in get-project -all) { $proj.Object.References | Where-Object {$_.Name -eq 'Enyim.Caching'} | ForEach-Object { $_.Remove()} } |
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
#OS junk files | |
[Tt]humbs.db | |
*.DS_Store | |
#Visual Studio files | |
*.[Oo]bj | |
*.user | |
*.aps | |
*.pch | |
*.vspscc |