mix combo.static.clean (combo v0.5.0)
View SourceCleans old versions of static files.
By default, it will keep the latest version and 2 previous versions of static files as well as any digested static files created in the last hour.
$ mix combo.static.clean
$ mix combo.static.clean -o /www/public
$ mix combo.static.clean --age 600 --keep 3
$ mix combo.static.clean --all
Options
-o, --output- specifies the path of output directory. Defaults topriv/static.--age- specifies a maximum age (in seconds) for static files. Files older than this age that are not in the last--keepversions will be removed. Defaults to3600.--keep- specifies how many previous versions of static files to keep. Defaults to 2 previous versions.--all- specifies that all digested static files (including the manifest) will be removed. Note this overrides the--ageand--keep.--no-compile- do not run mix compile.