Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
designeo-gulp
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Designeo
designeo-gulp
Commits
9d5684f0
Commit
9d5684f0
authored
May 23, 2017
by
Stanislav Fifik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
watch
parent
09886295
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
4 deletions
+12
-4
README.md
README.md
+0
-0
index.js
index.js
+12
-3
styleguide/gulpfile.js
styleguide/gulpfile.js
+0
-1
No files found.
README.md
0 → 100644
View file @
9d5684f0
index.js
View file @
9d5684f0
...
...
@@ -10,6 +10,7 @@ var source = require('vinyl-source-stream'),
var
gulp
=
require
(
'
gulp-help
'
)(
require
(
'
gulp
'
));
var
gutil
=
require
(
'
gulp-util
'
);
var
$gulp
=
require
(
'
gulp-load-plugins
'
)();
var
$less
=
{
...
...
@@ -55,14 +56,23 @@ module.exports = {
},
symfony
:
function
(){
//this.js()
this
.
js
(
'
js
'
,
glob
.
sync
(
'
./app/Resources/js/*.js
'
),
'
./web/js/
'
);
this
.
cssWebpack
(
'
css
'
,
glob
.
sync
(
'
app/Resources/less/*.less
'
),
'
./web/css/
'
);
gulp
.
task
(
'
build
'
,
[
'
js
'
,
'
css
'
]);
gulp
.
task
(
'
default
'
,
'
Build and watch
'
,
function
(){
argv
.
watch
=
true
;
gulp
.
run
(
'
build
'
);
});
},
styleguide
:
function
(){
this
.
js
(
'
js
'
,
glob
.
sync
(
'
./js/*.bundle.js
'
),
'
./demo/web/js/
'
);
this
.
cssWebpack
(
'
css
'
,
glob
.
sync
(
'
./demo/resources/less/main.less
'
),
'
./demo/web/css/
'
);
gulp
.
task
(
'
build
'
,
[
'
js
'
,
'
css
'
]);
gulp
.
task
(
'
default
'
,
[
'
build
'
]);
gulp
.
task
(
'
default
'
,
'
Build and watch
'
,
function
(){
argv
.
watch
=
true
;
gulp
.
run
(
'
build
'
);
});
},
css
:
function
(
name
,
entryPoints
,
destination
)
{
...
...
@@ -89,7 +99,6 @@ module.exports = {
webpack
({
entry
:
generateEntries
(
entryPoints
),
devServer
:
{
stats
:
"
errors-only
"
},
amd
:
true
,
output
:
{
path
:
path
.
resolve
(
module
.
exports
.
gulpfilePath
,
destination
),
filename
:
'
[name].css
'
,
...
...
styleguide/gulpfile.js
View file @
9d5684f0
var
designeoGulp
=
require
(
'
../index.js
'
);
console
.
log
(
__dirname
);
designeoGulp
.
init
(
__dirname
);
designeoGulp
.
styleguide
();
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment