util::resources::download (public)

 util::resources::download -resource_info resource_info \
    [ -version_segment version_segment ]

Defined in packages/acs-tcl/tcl/utilities-procs.tcl

Download resources typically from a CDN and install it for local usage. The installed files are as well gzipped for faster delivery, when gzip is available.-

Switches:
-resource_info (required)
a dict containing resourceDir, cdn, cssFiles, jsFiles, and extraFiles
-version_segment (optional)
an optional directory, under the resource directory
Author:
Gustaf Neumann

Testcases:
No testcase defined.
[ show source ]
Show another procedure: