From 67809c3fa136b501bcde9e6c3ac4c05cee030b0b Mon Sep 17 00:00:00 2001 From: Dmitri Akatov Date: Wed, 10 Jul 2013 17:48:43 -0700 Subject: [PATCH] keep the built file in the main directory (for bower's sake) --- Gruntfile.coffee | 2 +- lib/angular-contenteditable.js => angular-contenteditable.js | 0 bower.json | 1 + test/config-e2e.coffee | 2 +- test/fixtures/simple.html | 2 +- test/fixtures/typeahead1.html | 2 +- test/fixtures/typeahead2.html | 2 +- test/fixtures/typeahead3.html | 2 +- 8 files changed, 7 insertions(+), 6 deletions(-) rename lib/angular-contenteditable.js => angular-contenteditable.js (100%) diff --git a/Gruntfile.coffee b/Gruntfile.coffee index 1a7f957..8c21bba 100644 --- a/Gruntfile.coffee +++ b/Gruntfile.coffee @@ -7,7 +7,7 @@ module.exports = (grunt) -> meta: src: 'src' test: 'test' - target: 'lib/<%= pkg.name %>.js' + target: '<%= pkg.name %>.js' banner: '/*! <%= pkg.title || pkg.name %> - v<%= pkg.version %> - ' + '<%= grunt.template.today("yyyy-mm-dd") %>\n' + '<%= pkg.homepage ? "* " + pkg.homepage + "\\n" : "" %>' + diff --git a/lib/angular-contenteditable.js b/angular-contenteditable.js similarity index 100% rename from lib/angular-contenteditable.js rename to angular-contenteditable.js diff --git a/bower.json b/bower.json index 02ea369..6b83aca 100644 --- a/bower.json +++ b/bower.json @@ -3,6 +3,7 @@ , "main": "angular-radians.js" , "ignore": [ ".*" + , "README.md" , "Gruntfile.coffee" , "package.json" , "components" diff --git a/test/config-e2e.coffee b/test/config-e2e.coffee index c373950..9694b21 100644 --- a/test/config-e2e.coffee +++ b/test/config-e2e.coffee @@ -6,7 +6,7 @@ toServe = [ 'components/angular/angular.js' 'components/angular-bootstrap/ui-bootstrap.js' 'components/angular-bootstrap/ui-bootstrap-tpls.js' - 'lib/angular-contenteditable.js' + 'angular-contenteditable.js' 'test/fixtures/simple.html' 'test/fixtures/typeahead1.html' 'test/fixtures/typeahead2.html' diff --git a/test/fixtures/simple.html b/test/fixtures/simple.html index 66e376f..b8b2ff7 100644 --- a/test/fixtures/simple.html +++ b/test/fixtures/simple.html @@ -5,7 +5,7 @@ - + - + - + - +