Skip to content

Commit

Permalink
Merge pull request #1 from nailujx86/nailujx86-patch-1
Browse files Browse the repository at this point in the history
merge nailujx86-patch-1
  • Loading branch information
nailujx86 authored Oct 26, 2018
2 parents 4757015 + 7d96085 commit 8ec8f67
Show file tree
Hide file tree
Showing 6 changed files with 5 additions and 256 deletions.
9 changes: 1 addition & 8 deletions gulpfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,10 @@ gulp.task('minify_js', () => {
done();
});

gulp.task('copy_fonts', () => {
return gulp.src('src/font/*')
.pipe(gulp.dest('dist/font'));
done();
});

gulp.task('copy_node', () => {
return gulp.src('src/*node.js')
.pipe(gulp.dest('dist'));
done();
})

gulp.task('default', gulp.series('clean', gulp.parallel('minify_css', 'minify_js'),
'copy_fonts', 'copy_node'));
gulp.task('default', gulp.series('clean', gulp.parallel('minify_css', 'minify_js'), 'copy_node'));
Binary file removed src/font/minecraft_font.eot
Binary file not shown.
244 changes: 0 additions & 244 deletions src/font/minecraft_font.svg

This file was deleted.

Binary file removed src/font/minecraft_font.ttf
Binary file not shown.
Binary file removed src/font/minecraft_font.woff
Binary file not shown.
8 changes: 4 additions & 4 deletions src/mcmotd.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
font-family: "Minecraft";
font-style: normal;
font-weight: 400;
src: url("font/minecraft_font.woff") format("woff"),
url("font/minecraft_font.eot") format("eot"),
url("font/minecraft_font.ttf") format("truetype"),
url("font/minecraft_font.svg#Minecraft") format("svg");
src: url("https://cdn.jsdelivr.net/gh/nailujx86/[email protected]/font/minecraft_font.woff") format("woff"),
url("https://cdn.jsdelivr.net/gh/nailujx86/[email protected]/font/minecraft_font.eot") format("eot"),
url("https://cdn.jsdelivr.net/gh/nailujx86/[email protected]/font/minecraft_font.ttf") format("truetype"),
url("https://cdn.jsdelivr.net/gh/nailujx86/[email protected]/font/minecraft_font.svg#Minecraft") format("svg");
}
.mc {
padding: 1em;
Expand Down

0 comments on commit 8ec8f67

Please sign in to comment.