Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Jeremie Garcia
Trajectoires
Commits
7050895d
Commit
7050895d
authored
Oct 12, 2015
by
Jérémie Garcia
Browse files
build changes and update node modules
parent
96874032
Changes
2
Hide whitespace changes
Inline
Side-by-side
WOB/gulpfile.js
View file @
7050895d
var
NwBuilder
=
require
(
'
n
ode-webkit
-builder
'
);
var
NwBuilder
=
require
(
'
n
w
-builder
'
);
var
gulp
=
require
(
'
gulp
'
);
var
gutil
=
require
(
'
gulp-util
'
);
gulp
.
task
(
'
nw
'
,
function
()
{
gulp
.
task
(
'
traj
'
,
function
()
{
var
nw
=
new
NwBuilder
({
version
:
'
0.12.1
'
,
...
...
@@ -15,18 +15,18 @@ gulp.task('nw', function () {
'
!./build/**
'
,
'
!./node_modules/gulp/**
'
,
'
./node_modules/gulp-util/**
'
,
'
./node_modules/n
ode-webkit
-builder/**
'
],
'
./node_modules/n
w
-builder/**
'
],
//platforms: ['osx32', 'win32', 'linux32'] // change this to 'win' for/on windows
platforms
:
[
'
osx
'
]
// change this to 'win' for/on windows
});
// Log stuff you want
nw
.
on
(
'
log
'
,
function
(
msg
)
{
gutil
.
log
(
'
n
ode-webkit
-builder
'
,
msg
);
gutil
.
log
(
'
n
w
-builder
'
,
msg
);
});
// Build returns a promise, return it so the task isn't called in parallel
return
nw
.
build
().
catch
(
function
(
err
)
{
gutil
.
log
(
'
n
ode-webkit
-builder
'
,
err
);
gutil
.
log
(
'
n
w
-builder
'
,
err
);
});
});
\ No newline at end of file
WOB/package.json
100755 → 100644
View file @
7050895d
...
...
@@ -21,8 +21,8 @@
"ws"
:
"0.7.1"
},
"devDependencies"
:
{
"
node-webkit-builder"
:
"1.0
.11"
,
"gulp"
:
"3.
8.11
"
,
"
gulp-util
"
:
"
3
.0.
4
"
"
gulp"
:
"^3.8
.11"
,
"gulp
-util
"
:
"3.
0.4
"
,
"
nw-builder
"
:
"
^2
.0.
2
"
}
}
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