Manganis CLI Support
This crate provides utilities to collect assets that integrate with the Manganis macro. It makes it easy to integrate an asset collection and optimization system into a build tool.
use ;
use ;
use Command;
// This is the location where the assets will be copied to in the filesystem
let assets_file_location = "./assets";
// This is the location where the assets will be served from
let assets_serve_location = "/assets";
// First set any settings you need for the build.
default
.with_assets_serve_location
.save;
// Tell manganis that you support assets
let _guard = default;
// Determine if Rust is trying to link:
if let Some = linker_intercept else