output folder can now be changed in dev mode
This commit is contained in:
parent
940f54fc44
commit
43e48cdac1
@ -65,9 +65,7 @@ parser.add_argument('-f', '--format', default="folder",
|
|||||||
choices=("gzip", "folder", 'dev'),
|
choices=("gzip", "folder", 'dev'),
|
||||||
help="Format output (either gzip, dev or folder)")
|
help="Format output (either gzip, dev or folder)")
|
||||||
args = parser.parse_args()
|
args = parser.parse_args()
|
||||||
output = args.output if args.format == 'folder' else '_build'
|
output = args.output if args.format != 'gzip' else '_build'
|
||||||
if args.format == 'dev':
|
|
||||||
output = '/var/www/html'
|
|
||||||
render(args, output)
|
render(args, output)
|
||||||
# compress
|
# compress
|
||||||
if args.format == 'gzip':
|
if args.format == 'gzip':
|
||||||
|
Loading…
Reference in New Issue
Block a user