Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
Project Website
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
PCP-On-Web
Project Website
Commits
4a945dcd
Commit
4a945dcd
authored
8 years ago
by
David Miller
Committed by
GitHub
8 years ago
Browse files
Options
Downloads
Plain Diff
Merge pull request #110 from hubertkubiak/patch-1
update gulpfile.js
parents
e72d0712
cf8ac1ad
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
gulpfile.js
+4
-1
4 additions, 1 deletion
gulpfile.js
with
4 additions
and
1 deletion
gulpfile.js
+
4
−
1
View file @
4a945dcd
...
@@ -5,6 +5,7 @@ var header = require('gulp-header');
...
@@ -5,6 +5,7 @@ var header = require('gulp-header');
var
cleanCSS
=
require
(
'
gulp-clean-css
'
);
var
cleanCSS
=
require
(
'
gulp-clean-css
'
);
var
rename
=
require
(
"
gulp-rename
"
);
var
rename
=
require
(
"
gulp-rename
"
);
var
uglify
=
require
(
'
gulp-uglify
'
);
var
uglify
=
require
(
'
gulp-uglify
'
);
var
filter
=
require
(
'
gulp-filter
'
);
var
pkg
=
require
(
'
./package.json
'
);
var
pkg
=
require
(
'
./package.json
'
);
// Set the banner content
// Set the banner content
...
@@ -18,7 +19,9 @@ var banner = ['/*!\n',
...
@@ -18,7 +19,9 @@ var banner = ['/*!\n',
// Compile LESS files from /less into /css
// Compile LESS files from /less into /css
gulp
.
task
(
'
less
'
,
function
()
{
gulp
.
task
(
'
less
'
,
function
()
{
return
gulp
.
src
(
'
less/freelancer.less
'
)
var
f
=
filter
([
'
*
'
,
'
!mixins.less
'
,
'
!variables.less
'
]);
return
gulp
.
src
(
'
less/*.less
'
)
.
pipe
(
f
)
.
pipe
(
less
())
.
pipe
(
less
())
.
pipe
(
header
(
banner
,
{
pkg
:
pkg
}))
.
pipe
(
header
(
banner
,
{
pkg
:
pkg
}))
.
pipe
(
gulp
.
dest
(
'
css
'
))
.
pipe
(
gulp
.
dest
(
'
css
'
))
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment