def _dispatcher_config(args): if args.config_list: config._global_list_settings() elif args.config_get != None: print config._global_get_setting(args.config_get[0]) elif args.config_global != None: config._global_set_setting(args.config_global[0],args.config_global[1]) elif args.config_reset != None: config._global_reset_setting(args.config_reset[0])
def _dispatcher_config(args): if args.config_list: config._global_list_settings() elif args.config_get != None: print config._global_get_setting(args.config_get[0]) elif args.config_global != None: config._global_set_setting(args.config_global[0], args.config_global[1]) elif args.config_reset != None: config._global_reset_setting(args.config_reset[0])
def _dispatcher_make(args): nocache = config._global_get_setting('nocache') if args.no_cache: nocache = True nominify = config._global_get_setting('nominify') if args.no_minify: nominify = True compiler._compile_make(args.file,dest,args.rebuild,nocache) if not nominify: compiler._compile_minify(dest)
def _dispatcher_make(args): nocache = config._global_get_setting("nocache") if args.no_cache: nocache = True nominify = config._global_get_setting("nominify") if args.no_minify: nominify = True compiler._compile_make(args.file, dest, args.rebuild, nocache) if not nominify: compiler._compile_minify(dest)