Skip to content

Instantly share code, notes, and snippets.

@i8ramin
Created December 15, 2013 15:06
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save i8ramin/7974067 to your computer and use it in GitHub Desktop.
Save i8ramin/7974067 to your computer and use it in GitHub Desktop.
Modified Gruntfile.js and package.json files to work with Appgyver Steroids
'use strict';
// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,**/}*.js'
// use this if you want to recursively match all subfolders:
// 'test/spec/**/*.js'
module.exports = function (grunt) {
// show elapsed time at the end
require('time-grunt')(grunt);
// load all grunt tasks
require('load-grunt-tasks')(grunt);
grunt.initConfig({
watch: {
compass: {
files: ['app/scss/{,**/}*.{scss,sass}'],
tasks: ['compass']
}
},
compass: {
options: {
sassDir: 'app/scss',
cssDir: 'www/stylesheets',
imagesDir: 'www/images',
fontsDir: 'app/scss/fonts',
httpImagesPath: '/images',
relativeAssets: false,
debugInfo: false
},
dist: {}
}
});
grunt.registerTask('default', [
'steroids-make',
// 'steroids-compile-sass',
'compass'
// 'watch'
]);
};
{
"name": "mySteroidsProject",
"version": "0.0.1",
"description": "My awesome AppGyver Steroids project.",
"repository": "N/A",
"readme": "N/A",
"private": true,
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "",
"devDependencies": {
"grunt-steroids": "0.1.x",
"grunt-contrib-compass": "0.7.x",
"grunt-contrib-watch": "0.5.x",
"load-grunt-tasks": "0.2.x",
"time-grunt": "0.2.x"
},
"license": "none",
"engines": {
"steroids": "3.1.4"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment