You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tapestry.apache.org by jk...@apache.org on 2014/07/03 11:04:41 UTC
git commit: TAP5-2351: remove source mapping url in the
updateBootstrap task
Repository: tapestry-5
Updated Branches:
refs/heads/master db3a7a684 -> ee0220c64
TAP5-2351: remove source mapping url in the updateBootstrap task
Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/ee0220c6
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/ee0220c6
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/ee0220c6
Branch: refs/heads/master
Commit: ee0220c64a0bb85388fc856fdb8e5401d13aa29c
Parents: db3a7a6
Author: Jochen Kemnade <jo...@eddyson.de>
Authored: Thu Jul 3 11:03:36 2014 +0200
Committer: Jochen Kemnade <jo...@eddyson.de>
Committed: Thu Jul 3 11:03:36 2014 +0200
----------------------------------------------------------------------
build.gradle | 6 +++++-
.../assets/tapestry5/bootstrap/css/bootstrap-theme.css | 1 +
.../META-INF/assets/tapestry5/bootstrap/css/bootstrap.css | 1 +
3 files changed, 7 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/ee0220c6/build.gradle
----------------------------------------------------------------------
diff --git a/build.gradle b/build.gradle
index ee3ed2c..5ce2fcc 100755
--- a/build.gradle
+++ b/build.gradle
@@ -594,10 +594,14 @@ task updateBootstrap << {
from(zipTree(target)){
include('*/js/*.js')
include('*/dist/fonts/*')
+ eachFile adjustDirectory
+ }
+ from(zipTree(target)){
include('*/dist/css/bootstrap.css')
include('*/dist/css/bootstrap-theme.css')
-
eachFile adjustDirectory
+ // TAP5-2351: remove source map reference from css files
+ filter({ (it ==~ /\/\*\s*# sourceMappingURL=[\S]+\s*\*\//) ? "" : it })
}
into('tapestry-core/src/main/resources/META-INF/assets/tapestry5/bootstrap/')
}
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/ee0220c6/tapestry-core/src/main/resources/META-INF/assets/tapestry5/bootstrap/css/bootstrap-theme.css
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/resources/META-INF/assets/tapestry5/bootstrap/css/bootstrap-theme.css b/tapestry-core/src/main/resources/META-INF/assets/tapestry5/bootstrap/css/bootstrap-theme.css
index dff87f6..432bf14 100644
--- a/tapestry-core/src/main/resources/META-INF/assets/tapestry5/bootstrap/css/bootstrap-theme.css
+++ b/tapestry-core/src/main/resources/META-INF/assets/tapestry5/bootstrap/css/bootstrap-theme.css
@@ -439,3 +439,4 @@
-webkit-box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
box-shadow: inset 0 1px 3px rgba(0, 0, 0, .05), 0 1px 0 rgba(255, 255, 255, .1);
}
+
http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/ee0220c6/tapestry-core/src/main/resources/META-INF/assets/tapestry5/bootstrap/css/bootstrap.css
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/resources/META-INF/assets/tapestry5/bootstrap/css/bootstrap.css b/tapestry-core/src/main/resources/META-INF/assets/tapestry5/bootstrap/css/bootstrap.css
index 88123dc..1f7bc6a 100644
--- a/tapestry-core/src/main/resources/META-INF/assets/tapestry5/bootstrap/css/bootstrap.css
+++ b/tapestry-core/src/main/resources/META-INF/assets/tapestry5/bootstrap/css/bootstrap.css
@@ -6200,3 +6200,4 @@ button.close {
display: none !important;
}
}
+