From 6f75795a6e91c4eed8f8710a86dc14963ba92622 Mon Sep 17 00:00:00 2001 From: Gregory Eremin Date: Thu, 19 Mar 2015 16:35:15 +0700 Subject: [PATCH] Use local Open Sans font in development --- Makefile | 4 ++-- app/css/opensans.css | 21 +++++++++++++++++++++ app/index.html | 2 +- 3 files changed, 24 insertions(+), 3 deletions(-) create mode 100644 app/css/opensans.css diff --git a/Makefile b/Makefile index f2ef2a2..15573ba 100644 --- a/Makefile +++ b/Makefile @@ -27,7 +27,7 @@ dist: # Compressing CSS cat app/index.html \ | grep stylesheet \ - | grep -v http \ + | grep -v opensans \ | cut -d '"' -f 4 \ | sed -e 's/^/app/' \ | xargs cat \ @@ -37,7 +37,7 @@ dist: # Replacing all script tags with a single one cat app/index.html \ | perl -pe 's/\n/STYLE_TAG/g' \ - | perl -pe 's/(STYLE_TAG\s*)+/\n /g' \ + | perl -pe 's/(STYLE_TAG\s*)+/\n \n /g' \ | perl -pe 's/\n/SCRIPT_TAG/g' \ | perl -pe 's/(SCRIPT_TAG\s*)+/