Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
Nuovo sito
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
16
Issues
16
List
Boards
Labels
Milestones
Merge Requests
2
Merge Requests
2
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gruppo Web
Nuovo sito
Commits
3f63fedc
Commit
3f63fedc
authored
Nov 06, 2016
by
Pietro Albini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't run invoke commands under a PTY
Running them under a PTY makes the build log a big bad mess
parent
98b94346
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
tasks.py
tasks.py
+3
-3
No files found.
tasks.py
View file @
3f63fedc
...
@@ -116,15 +116,15 @@ def assets(ctx, watch=False):
...
@@ -116,15 +116,15 @@ def assets(ctx, watch=False):
# Be sure to have all the dependencies installed
# Be sure to have all the dependencies installed
if
not
os
.
path
.
exists
(
node_bin
):
if
not
os
.
path
.
exists
(
node_bin
):
invoke
.
run
(
"yarn"
,
pty
=
True
)
invoke
.
run
(
"yarn"
)
if
watch
:
if
watch
:
try
:
try
:
invoke
.
run
(
"%s/gulp watch"
%
node_bin
,
pty
=
True
)
invoke
.
run
(
"%s/gulp watch"
%
node_bin
)
except
KeyboardInterrupt
:
except
KeyboardInterrupt
:
pass
pass
else
:
else
:
invoke
.
run
(
"%s/gulp"
%
node_bin
,
pty
=
True
)
invoke
.
run
(
"%s/gulp"
%
node_bin
)
@
invoke
.
task
(
pre
=
[
assets
])
@
invoke
.
task
(
pre
=
[
assets
])
...
...
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