|
|
@ -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':
|
|
|
|