Beispiel #1
0
        public static void merge(string strSrcDirPath)
        {
            Console.WriteLine("========================MergeLessServiceAPP start=========================");
            var strContent = MergeLessAdapter.merge(strSrcDirPath, "", new MergeLessAdaterAPP());

            MergeLessAdapter.minify(strSrcDirPath, strContent, new MergeLessAdaterAPP());
            Console.WriteLine("========================MergeLessServiceAPP end=========================");
        }
        public static void merge(string strSrcDirPath)
        {
            Console.WriteLine("========================MergeLessServiceWalle start=========================");
            var strContent = MergeLessAdapter.merge(strSrcDirPath, "core", new MergeLessAdaterWallE());

            strContent += MergeLessAdapter.merge(strSrcDirPath, "component", new MergeLessAdaterWallE());
            strContent += MergeLessAdapter.merge(strSrcDirPath, "widget", new MergeLessAdaterWallE());
            MergeLessAdapter.minify(strSrcDirPath, strContent, new MergeLessAdaterWallE());
            Console.WriteLine("========================MergeLessServiceWalle end=========================");
        }