Skip to content

Commit

Permalink
Update rule for dashboard.css
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Weil <[email protected]>
  • Loading branch information
stweil committed Dec 16, 2019
1 parent 5ce9ffd commit 1142981
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ FONT_URLS = https://fonts.googleapis.com/css?family=EB+Garamond&subset=latin,lat
FONT_FILES = node_modules/font-awesome/fonts/fontawesome-webfont.* \
node_modules/bootstrap/fonts/glyphicons-halflings-regular.*
# URLs of CSS to download
CSS_URLS = https://getbootstrap.com/examples/dashboard/dashboard.css
CSS_URLS = https://getbootstrap.com/docs/3.4/examples/dashboard/dashboard.css
# CSS files to bundle into one minified `dist/vendor.css`
# NOTE: Our CSS should not be bundled here
CSS_FILES = node_modules/reset-css/reset.css \
Expand Down Expand Up @@ -138,7 +138,7 @@ dist/fonts.css: dist/fonts

dist/vendor.css: ${CSS_FILES} dist/fonts.css
cat dist/fonts.css ${CSS_FILES} \
| sed 's,\.\./fonts,./fonts,g' \
| sed 's,\.\./fonts,fonts,g' \
> dist/temp.css
$(CURL) ${CSS_URLS} >> dist/temp.css
$(CLEANCSS) --skip-rebase --output $@ dist/temp.css
Expand Down

0 comments on commit 1142981

Please sign in to comment.