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.loadNpmTasks('grunt-contrib-watch'); | |
grunt.initConfig({ | |
watch: { | |
options: { | |
spawn: false, | |
livereload: true | |
}, | |
sources: { |
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
{ | |
"dependencies": { | |
"bower": "*", | |
"grunt": "*", | |
"grunt-cli": "*", | |
"phantomjs": "*", | |
"grunt-contrib-testem": "*", | |
"grunt-contrib-watch": "*", | |
"grunt-contrib-jshint": "*", | |
"grunt-contrib-concat": "*", |
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.loadNpmTasks('grunt-contrib-testem'); | |
grunt.initConfig({ | |
testem: { | |
basic: { | |
src: [ | |
"js/dist/deps.min.js" | |
], | |
options: { |
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
test('a very simple example test to verify testem integration', function() { | |
equal(1, 1, "some failure message"); | |
}); |
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({ | |
transpile: { | |
tests: { | |
type: 'amd', | |
moduleName: function(path) { | |
return 'example/tests/' + path; | |
}, | |
files: [{ | |
expand: true, |
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({ | |
concat: { | |
test: { | |
src: [ | |
'js/vendor/jquery/jquery.min.js', | |
'js/vendor/handlebars/handlebars.js', | |
'js/vendor/ember/ember.js', | |
'js/lib/loader.js', | |
'js/lib/ember-resolver.js', |
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
{ | |
"dependencies": { | |
"bower": "*", | |
"grunt": "*", | |
"grunt-cli": "*", | |
"phantomjs": "*", | |
"grunt-hashres": "*", | |
"grunt-contrib-watch": "*", | |
"grunt-contrib-uglify": "*", | |
"grunt-contrib-jshint": "*", |
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.loadNpmTasks('grunt-contrib-uglify'); | |
grunt.loadNpmTasks('grunt-hashres'); | |
grunt.initConfig({ | |
uglify: { | |
dist: { | |
src: 'js/dist/deps.min.js', | |
dest: 'js/dist/deps.min.js', | |
}, |
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({ | |
concat: { | |
dist: { | |
src: [ | |
'js/vendor/jquery/jquery.min.js', | |
'js/vendor/handlebars/handlebars.js', | |
'js/vendor/ember/ember.min.js', | |
'js/app.js', | |
'js/dist/tmpl.min.js'], |
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 :application, 'myapp' | |
set :scm, :git | |
set :repo_url, 'git@bitbucket.org:toranb/foo.git' | |
set :django_settings_dir, 'myapp/settings' | |
set :pip_requirements, 'requirements.txt' | |
set :keep_releases, 5 | |
set :grunt_task, 'deploy' | |
set :stage, :production | |
set :branch, :master | |
set :django_settings, 'production' |