Skip to content
This repository has been archived by the owner on May 17, 2018. It is now read-only.

Commit

Permalink
Clean up some horrible bower, font and css stuff.
Browse files Browse the repository at this point in the history
  • Loading branch information
domoritz committed Feb 15, 2015
1 parent d29cf8f commit 99c7287
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 568 deletions.
3 changes: 3 additions & 0 deletions .bower-postinstall
@@ -0,0 +1,3 @@
#!/bin/sh

cp bower_components/angular-tooltips/dist/angular-tooltips.min.css bower_components/angular-tooltips/dist/_angular-tooltips.scss
5 changes: 4 additions & 1 deletion .bowerrc
@@ -1,3 +1,6 @@
{
"directory": "bower_components"
"directory": "bower_components",
"scripts": {
"postinstall": "./.bower-postinstall"
}
}
1 change: 1 addition & 0 deletions gulp/build.js
Expand Up @@ -46,6 +46,7 @@ gulp.task('html', ['inject', 'partials'], function () {
.pipe($.uglify({preserveComments: $.uglifySaveLicense}))
.pipe(jsFilter.restore())
.pipe(cssFilter)
.pipe($.replace('../../bower_components/fontawesome/fonts', '../fonts'))
.pipe($.csso())
.pipe(cssFilter.restore())
.pipe(assets.restore())
Expand Down
4 changes: 2 additions & 2 deletions src/app/index.scss
Expand Up @@ -6,10 +6,10 @@
// injector
// endinjector

$fa-font-path: "../assets/fonts";
$fa-font-path: "../../bower_components/fontawesome/fonts";
@import "../../bower_components/fontawesome/scss/font-awesome.scss";

@import "../../bower_components/angular-tooltips/dist/angular-tooltips.min.css";
@import "../../bower_components/angular-tooltips/dist/angular-tooltips";

$iron: #ccc;

Expand Down
Binary file removed src/assets/fonts/FontAwesome.otf
Binary file not shown.
Binary file removed src/assets/fonts/fontawesome-webfont.eot
Binary file not shown.
565 changes: 0 additions & 565 deletions src/assets/fonts/fontawesome-webfont.svg

This file was deleted.

Binary file removed src/assets/fonts/fontawesome-webfont.ttf
Binary file not shown.
Binary file removed src/assets/fonts/fontawesome-webfont.woff
Binary file not shown.
Binary file removed src/assets/fonts/fontawesome-webfont.woff2
Binary file not shown.

0 comments on commit 99c7287

Please sign in to comment.