44 Star 97 Fork 32

Gitamin/Gitamin

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
gulpfile.js 3.37 KB
一键复制 编辑 原始数据 按行查看 历史
Phecho 提交于 2016-07-08 15:32 . Update views
var elixir = require('laravel-elixir'),
gulp = require('gulp'),
gutil = require('gulp-util'),
coffee = require('gulp-coffee');
gulp.task('coffee', function() {
gulp.src('./resources/assets/coffee/**/*.coffee')
.pipe(gulp.dest('./public/dist/coffee/'))
.pipe(coffee({bare: true}).on('error', gutil.log));
});
elixir.config.production = true;
elixir.config.sourcemaps = false;
elixir(function (mix) {
mix
.sass('gitamin.scss', 'public/dist/css/gitamin.css')
.styles([
'vendor/bower_components/prism/themes/prism-okaidia.css',
'vendor/bower_components/nprogress/nprogress.css',
'vendor/bower_components/messenger/build/css/messenger*.css',
'vendor/bower_components/select2/dist/css/select2.css',
'vendor/bower_components/ekko-lightbox/dist/ekko-lightbox.css',
'public/dist/css/gitamin.css'
], 'public/dist/css/all.css', './')
.coffee()
.scripts([
'vendor/bower_components/jquery/dist/jquery.js',
'vendor/bower_components/bootstrap-sass/assets/javascripts/bootstrap.js',
'vendor/bower_components/underscore/underscore-min.js',
'vendor/bower_components/backbone/backbone-min.js',
'vendor/bower_components/sweetalert/dist/sweetalert.min.js',
'vendor/bower_components/moment/min/moment-with-locales.js',
'vendor/bower_components/lodash/lodash.js',
'vendor/bower_components/messenger/build/js/messenger.js',
'vendor/bower_components/jquery-pjax/jquery.pjax.js',
'vendor/bower_components/autosize/jquery.autosize.min.js',
'vendor/bower_components/scrollup/dist/jquery.scrollUp.min.js',
'vendor/bower_components/jquery-textcomplete/dist/jquery.textcomplete.min.js',
'vendor/bower_components/nprogress/nprogress.js',
'vendor/bower_components/jquery-serialize-object/jquery.serialize-object.js',
'vendor/bower_components/jquery-caret/jquery.caret.js',
'vendor/bower_components/marked/marked.min.js',
'vendor/bower_components/markdown/lib/markdown.js',
'vendor/bower_components/raphael/raphael.js',
'vendor/bower_components/showdown/src/showdown.js',
'vendor/bower_components/showdown/src/extensions/table.js',
'vendor/bower_components/prism/prism.js',
'vendor/bower_components/prism/components/prism-php*.min.js',
'vendor/bower_components/localforage/dist/localforage.min.js',
'vendor/bower_components/emoji/lib/emoji.js',
'vendor/bower_components/emojify/dist/js/emojify.min.js',
'vendor/bower_components/ekko-lightbox/dist/ekko-lightbox.min.js',
'vendor/bower_components/Sortable/Sortable.js',
'vendor/bower_components/select2/dist/js/select2.min.js',
'vendor/bower_components/inline-attachment/src/inline-attach.js',
'vendor/bower_components/inline-attachment/src/jquery.inline-attach.js',
'resources/assets/js/*.js',
'public/js/app.js'
], 'public/dist/js/all.js', './')
.version(['public/dist/css/all.css', 'public/dist/js/all.js'])
.copy('vendor/bower_components/font-awesome/fonts/', 'public/fonts/')
.copy('vendor/bower_components/octicons/octicons/octicons.{eot,ttf,woff,svg}', 'public/fonts/');
});
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
PHP
1
https://gitee.com/gitamin/Gitamin.git
git@gitee.com:gitamin/Gitamin.git
gitamin
Gitamin
Gitamin
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385