[Pkg-javascript-commits] [d3-tip.js] 221/277: added uglifycss so we can put this on cdnjs
bhuvan krishna
bhuvan-guest at moszumanska.debian.org
Thu Dec 8 06:57:33 UTC 2016
This is an automated email from the git hooks/post-receive script.
bhuvan-guest pushed a commit to branch master
in repository d3-tip.js.
commit e3b87a0212618cdd4e29ea50842eb167b6a12a01
Author: Dean Malmgren <dean.malmgren at datascopeanalytics.com>
Date: Wed Feb 5 08:56:16 2014 -0600
added uglifycss so we can put this on cdnjs
---
.gitignore | 2 +-
Makefile | 16 +++++++++++++---
2 files changed, 14 insertions(+), 4 deletions(-)
diff --git a/.gitignore b/.gitignore
index 6c9914b..a5d24a6 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,4 @@
components
bower_components
node_modules
-d3.tip.min.js
+d3.tip.min.*
diff --git a/Makefile b/Makefile
index bc95927..e91e901 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,21 @@
UGLIFYJS = node_modules/uglify-js/bin/uglifyjs
+UGLIFYCSS = node_modules/uglifycss/uglifycss
-d3.tip.min.js: clean uglifyjs
- $(UGLIFYJS) index.js -c -m -o d3.tip.min.js
+all: d3.tip.min.js d3.tip.min.css
+
+d3.tip.min.js: index.js uglifyjs
+ $(UGLIFYJS) $< -c -m -o $@
+
+d3.tip.min.css: examples/example-styles.css uglifycss
+ $(UGLIFYCSS) $< > $@
clean:
- @rm -f d3.tip.min.js
+ @rm -f d3.tip.min.*
uglifyjs: $(UGLIFYJS)
$(UGLIFYJS):
npm install uglify-js
+
+uglifycss: $(UGLIFYCSS)
+$(UGLIFYCSS):
+ npm install uglifycss
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/d3-tip.js.git
More information about the Pkg-javascript-commits
mailing list