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'),
|
||||
help="Format output (either gzip, dev or folder)")
|
||||
args = parser.parse_args()
|
||||
output = args.output if args.format == 'folder' else '_build'
|
||||
if args.format == 'dev':
|
||||
output = '/var/www/html'
|
||||
output = args.output if args.format != 'gzip' else '_build'
|
||||
render(args, output)
|
||||
# compress
|
||||
if args.format == 'gzip':
|
||||
|
Loading…
Reference in New Issue
Block a user