Skip to content

Commit

Permalink
0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonish committed Jun 20, 2014
1 parent bcfee5c commit 30e37d8
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 7 deletions.
16 changes: 13 additions & 3 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// use this if you want to recursively match all subfolders:
// 'test/spec/**/*.js'

var VERSION = "0.2.0dev"
var VERSION = "0.2.0"

module.exports = function (grunt) {

Expand Down Expand Up @@ -234,7 +234,9 @@ module.exports = function (grunt) {
{
expand: true,
cwd: '<%= yeoman.dist %>',
src: ['*.html', 'views/{,*/}*.html'],
src: ['*.html',
'views/{,*/}*.html',
'templates/{,*/}*.html'],
dest: '<%= yeoman.dist %>'
}
]
Expand Down Expand Up @@ -271,6 +273,7 @@ module.exports = function (grunt) {
'.htaccess',
'*.html',
'views/{,*/}*.html',
'templates/{,*/}*.html',
'images/{,*/}*.{webp}',
'fonts/*',
'sample-config.js'
Expand Down Expand Up @@ -324,6 +327,13 @@ module.exports = function (grunt) {
]
},

uglify: {
options : {
beautify : true,
mangle : false
}
},

compress: {
build: {
options: {archive: 'build/' + dist + '.zip', mode: 'zip'},
Expand All @@ -341,7 +351,7 @@ module.exports = function (grunt) {

replace: {
another_example: {
src: ['app/views/about.html'],
src: ['app/templates/about.html'],
overwrite: true,
replacements: [
{
Expand Down
3 changes: 3 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ vendor-bower-components:

git add -f app/bower_components/bootstrap/dist/fonts

package:
grunt package

# Basic clean - build artifacts, backup files...
clean:
-grunt clean
Expand Down
3 changes: 1 addition & 2 deletions app/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
<!-- Place favicon.ico and apple-touch-icon.png in the root directory -->
<!-- build:css styles/vendor.css -->
<!-- bower:css -->
<link rel="stylesheet"
href="bower_components/bootstrap/dist/css/bootstrap.css"/>
<link rel="stylesheet" href="bower_components/bootstrap/dist/css/bootstrap.css" />
<!-- endbower -->
<!-- endbuild -->
<!-- build:css({.tmp,app}) styles/app.css -->
Expand Down
2 changes: 1 addition & 1 deletion app/templates/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal"
aria-hidden="true">&times;</button>
<h4 class="modal-title">EveBox v<span id="version">0.2.0dev</span></h4>
<h4 class="modal-title">EveBox v<span id="version">0.2.0</span></h4>
</div>
<div class="modal-body">
On GitHub: <a href="https://github.com/jasonish/evebox">https://github.com/jasonish/evebox</a>
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"grunt-jasmine-node": "^0.2.1",
"grunt-karma": "^0.8.3",
"grunt-newer": "~0.6.1",
"grunt-ngmin": "~0.0.2",
"grunt-ngmin": "0.0.3",
"grunt-rev": "~0.1.0",
"grunt-svgmin": "~0.2.0",
"grunt-text-replace": "^0.3.11",
Expand Down

0 comments on commit 30e37d8

Please sign in to comment.