Skip to content

Commit 7c4f55e

Browse files
committed
removing tools that were not being used
1 parent 55f0d82 commit 7c4f55e

File tree

3 files changed

+11
-90
lines changed

3 files changed

+11
-90
lines changed

Gruntfile.js

Lines changed: 10 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -25,18 +25,6 @@ module.exports = function (grunt) {
2525
grunt.initConfig({
2626
yeoman: yeomanConfig,
2727
watch: {
28-
coffee: {
29-
files: ['<%= yeoman.app %>/scripts/{,*/}*.coffee'],
30-
tasks: ['coffee:dist']
31-
},
32-
coffeeTest: {
33-
files: ['test/spec/{,*/}*.coffee'],
34-
tasks: ['coffee:test']
35-
},
36-
compass: {
37-
files: ['<%= yeoman.app %>/styles/{,*/}*.{scss,sass}'],
38-
tasks: ['compass:server']
39-
},
4028
livereload: {
4129
options: {
4230
livereload: LIVERELOAD_PORT
@@ -125,75 +113,6 @@ module.exports = function (grunt) {
125113
}
126114
}
127115
},
128-
coffee: {
129-
dist: {
130-
files: [
131-
{
132-
expand: true,
133-
cwd: '<%= yeoman.app %>/scripts',
134-
src: '{,*/}*.coffee',
135-
dest: '.tmp/scripts',
136-
ext: '.js'
137-
}
138-
]
139-
},
140-
test: {
141-
files: [
142-
{
143-
expand: true,
144-
cwd: 'test/spec',
145-
src: '{,*/}*.coffee',
146-
dest: '.tmp/spec',
147-
ext: '.js'
148-
}
149-
]
150-
}
151-
},
152-
compass: {
153-
options: {
154-
sassDir: '<%= yeoman.app %>/styles',
155-
cssDir: '.tmp/styles',
156-
generatedImagesDir: '.tmp/images/generated',
157-
imagesDir: '<%= yeoman.app %>/images',
158-
javascriptsDir: '<%= yeoman.app %>/scripts',
159-
fontsDir: '<%= yeoman.app %>/styles/fonts',
160-
importPath: '<%= yeoman.app %>/bower_components',
161-
httpImagesPath: '/images',
162-
httpGeneratedImagesPath: '/images/generated',
163-
httpFontsPath: '/styles/fonts',
164-
relativeAssets: false
165-
},
166-
dist: {},
167-
server: {
168-
options: {
169-
debugInfo: true
170-
}
171-
}
172-
},
173-
// not used since Uglify task does concat,
174-
// but still available if needed
175-
/*concat: {
176-
dist: {}
177-
},*/
178-
requirejs: {
179-
dist: {
180-
// Options: https://github.com/jrburke/r.js/blob/master/build/example.build.js
181-
options: {
182-
// `name` and `out` is set by grunt-usemin
183-
baseUrl: yeomanConfig.app + '/scripts',
184-
optimize: 'none',
185-
// TODO: Figure out how to make sourcemaps work with grunt-usemin
186-
// https://github.com/yeoman/grunt-usemin/issues/30
187-
//generateSourceMaps: true,
188-
// required to support SourceMaps
189-
// http://requirejs.org/docs/errors.html#sourcemapcomments
190-
preserveLicenseComments: false,
191-
useStrict: true,
192-
wrap: true
193-
//uglify2: {} // https://github.com/mishoo/UglifyJS2
194-
}
195-
}
196-
},
197116
rev: {
198117
dist: {
199118
files: {
@@ -285,6 +204,15 @@ module.exports = function (grunt) {
285204
// Put files not handled in other tasks here
286205
copy: {
287206
dist: {
207+
styles: {
208+
expand: true,
209+
cwd: '<%= yeoman.app %>',
210+
dest: '.tmp/',
211+
src: [
212+
'styles/{,*/}*.css',
213+
'bower_components/boostrap/dist/css/bootstrap.min.css'
214+
]
215+
},
288216
files: [
289217
{
290218
expand: true,
@@ -311,15 +239,11 @@ module.exports = function (grunt) {
311239
},
312240
concurrent: {
313241
server: [
314-
'compass',
315-
'coffee:dist'
242+
316243
],
317244
test: [
318-
'coffee'
319245
],
320246
dist: [
321-
'coffee',
322-
'compass',
323247
'imagemin',
324248
'svgmin',
325249
'htmlmin'

app/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
<title>Vim Cheat Sheet</title>
77
<meta name="description" content="A mobile friendly VIM cheat sheet">
88
<meta name="viewport" content="width=device-width, initial-scale=1.0">
9-
<link rel="stylesheet" href="//netdna.bootstrapcdn.com/bootstrap/3.0.0-rc1/css/bootstrap.min.css">
109
<!-- build:css({.tmp,app}) styles/main.css -->
10+
<link rel="stylesheet" href="bower_components/boostrap/dist/css/bootstrap.min.css">
1111
<link rel="stylesheet" href="styles/main.css">
1212
<!-- endbuild -->
1313
<!-- build:js scripts/vendor/modernizr.js -->

package.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,16 +6,13 @@
66
"grunt": "~0.4.1",
77
"grunt-contrib-copy": "~0.4.1",
88
"grunt-contrib-concat": "~0.1.3",
9-
"grunt-contrib-coffee": "~0.6.5",
109
"grunt-contrib-uglify": "~0.2.0",
11-
"grunt-contrib-compass": "~0.2.0",
1210
"grunt-contrib-jshint": "~0.4.1",
1311
"grunt-contrib-cssmin": "~0.6.0",
1412
"grunt-contrib-connect": "~0.2.0",
1513
"grunt-contrib-clean": "~0.4.0",
1614
"grunt-contrib-htmlmin": "~0.1.3",
1715
"grunt-bower-requirejs": "~0.4.1",
18-
"grunt-contrib-requirejs": "~0.4.0",
1916
"grunt-contrib-imagemin": "~0.1.3",
2017
"grunt-contrib-watch": "~0.4.0",
2118
"grunt-rev": "~0.1.0",

0 commit comments

Comments
 (0)