     case Image
     case Raw
 }
+
+private let assetTagIgnore = "~"
+private let assetTagHead = "head"
 
 class App
 {

            assetTag = getOption(args, option: "-input_assets_tag")
        }

        if (assetTag != nil) {
            // check for latest tag
            if (assetTag == "~") {
                assetTag = nil
            }
        }

        if (outputClassFile == nil) {
            outputClassFile = getOption(args, option: "-out_source")
        }

        }

        if (result != nil) {
            if (gitEnabled) && (sourceAssetFolder != nil) {
                prepareGitRepro(sourceAssetFolder!, tag: assetTag!)
            }

            // process
            consume(result!, type: compileType, langOutputFile: outputClassFile!)
        }
        else {
            print("Error: missing input file")
