fnp
/
redakcja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
03ac012
)
fix argument types in build command
author
Jan Szejko
<janek37@gmail.com>
Fri, 31 Mar 2017 11:36:50 +0000
(13:36 +0200)
committer
Jan Szejko
<janek37@gmail.com>
Fri, 31 Mar 2017 11:36:50 +0000
(13:36 +0200)
apps/build/management/commands/build.py
patch
|
blob
|
history
diff --git
a/apps/build/management/commands/build.py
b/apps/build/management/commands/build.py
index
6c4b276
..
9afc249
100644
(file)
--- a/
apps/build/management/commands/build.py
+++ b/
apps/build/management/commands/build.py
@@
-18,28
+18,24
@@
class Command(BaseCommand):
'--node-bin-path',
action='store',
dest='node_bin_path',
'--node-bin-path',
action='store',
dest='node_bin_path',
- type='string',
default=None,
help='Path to node binary')
parser.add_argument(
'--npm-bin',
action='store',
dest='npm_bin',
default=None,
help='Path to node binary')
parser.add_argument(
'--npm-bin',
action='store',
dest='npm_bin',
- type='string',
default='npm',
help='Path to npm binary')
parser.add_argument(
'--editor-npm-env',
action='store',
dest='editor_npm_env',
default='npm',
help='Path to npm binary')
parser.add_argument(
'--editor-npm-env',
action='store',
dest='editor_npm_env',
- type='string',
default=None,
help='Destination path of npm environment, defaults to ./node_modules')
parser.add_argument(
'--editor-optimize',
action='store',
dest='editor_optimize',
default=None,
help='Destination path of npm environment, defaults to ./node_modules')
parser.add_argument(
'--editor-optimize',
action='store',
dest='editor_optimize',
- type='string',
default=None,
help='Optimization strategy for editor build')
default=None,
help='Optimization strategy for editor build')