Move fonts to resources/assets/fonts, mark everything in public/fonts in the gitignore, and add a copy task for resources/assets/fonts/* to public/fonts

This commit is contained in:
Kevin MacMartin 2016-03-19 16:03:32 -04:00
parent f42f5e5a16
commit 9a7f8857c3
6 changed files with 2 additions and 3 deletions

4
.gitignore vendored
View file

@ -4,9 +4,7 @@
/public/build /public/build
/public/css /public/css
/public/js /public/js
/public/fonts/FontAwesome.otf /public/fonts
/public/fonts/fontawesome-webfont.*
/public/fonts/glyphicons-halflings-regular.*
/public/uploads /public/uploads
/storage/exports /storage/exports
.env .env

View file

@ -45,6 +45,7 @@ elixir(function(mix) {
mix mix
.copy('bower_components/bootstrap/dist/fonts/**', 'public/fonts') .copy('bower_components/bootstrap/dist/fonts/**', 'public/fonts')
.copy('bower_components/font-awesome/fonts/**', 'public/fonts') .copy('bower_components/font-awesome/fonts/**', 'public/fonts')
.copy('resources/assets/fonts/**', 'public/fonts')
.less('dashboard.less', 'public/css/dashboard.css', { paths: lessPaths, plugins: [lessglob] }) .less('dashboard.less', 'public/css/dashboard.css', { paths: lessPaths, plugins: [lessglob] })
.less('app.less', 'public/css/app.css', { paths: lessPaths, plugins: [lessglob] }) .less('app.less', 'public/css/app.css', { paths: lessPaths, plugins: [lessglob] })
.scripts(jsLocal, 'public/js/app.js', 'resources/assets/js/') .scripts(jsLocal, 'public/js/app.js', 'resources/assets/js/')

View file

Before

Width:  |  Height:  |  Size: 248 KiB

After

Width:  |  Height:  |  Size: 248 KiB