Пример #1
0
        public static void ExportPackage()
        {
            string output;

            if (EnvironmentReader.TryRead("EXPORT_PATH", out output))
            {
                Debug.LogFormat("export package : {0}", output);
                var b = new PackageBuilder();
                b.Build(output);
            }
        }
Пример #2
0
        public static void Build()
        {
            string configFilePath;

            if (!EnvironmentReader.TryRead("CONFIG_PATH", out configFilePath))
            {
                Debug.Log("cannot find CONFIG_PATH");
                return;
            }

            string outputFilePath;

            if (!EnvironmentReader.TryRead("OUTPUT_PATH", out outputFilePath))
            {
                Debug.Log("cannot find OUTPUT_PATH");
                return;
            }

            BuildCommon(configFilePath, outputFilePath);
        }