コード例 #1
0
ファイル: MenuItems.cs プロジェクト: sjb8100/uplift
 private static void InstallDependencies()
 {
     Debug.Log("Installing Upfile dependencies");
     UpliftManager.ResetInstances();
     UpliftManager.Instance().InstallDependencies(strategy: UpliftManager.InstallStrategy.INCOMPLETE_LOCKFILE);
     AssetDatabase.Refresh();
 }
コード例 #2
0
        private static void InstallLockfile()
        {
            Debug.Log("Installing from Lockfile : ");
            UpliftManager.ResetInstances();
            UpliftManager.Instance().InstallDependencies(strategy: UpliftManager.InstallStrategy.ONLY_LOCKFILE);

            Debug.Log("-> Resfreshing AssetDatabase");
            AssetDatabase.Refresh();
        }
コード例 #3
0
ファイル: Initialize.cs プロジェクト: lacostej/uplift
        static Initialize()
        {
            Debug.Log("Upfile loading...");
            if (!Upfile.CheckForUpfile())
            {
                Debug.Log("No Upfile was found at the root of your project, Uplift created a sample one for you to start working on");
                SampleFile.CreateSampleUpfile();
            }

            if (!IsInitialized())
            {
                UpliftManager.Instance().InstallDependencies(strategy: UpliftManager.InstallStrategy.ONLY_LOCKFILE, refresh: true);
                MarkAsInitialized();
            }
        }
コード例 #4
0
ファイル: Initialize.cs プロジェクト: sjb8100/uplift
        static Initialize()
        {
            Debug.Log("Using Uplift version " + About.Version);
            if (!Upfile.CheckForUpfile())
            {
                Debug.Log("No Upfile was found at the root of your project, Uplift created a sample one for you to start working on");
                SampleFile.CreateSampleUpfile();
            }

            if (LockFileTracker.HasChanged())
            {
                UpliftManager.ResetInstances();
                UpliftManager.Instance().InstallDependencies(strategy: UpliftManager.InstallStrategy.ONLY_LOCKFILE);
                LockFileTracker.SaveState();
            }

            Updater.CheckForUpdate();
        }
コード例 #5
0
ファイル: MenuItems.cs プロジェクト: sjb8100/uplift
 private static void NukePackages()
 {
     Debug.LogWarning("Nuking all packages!");
     UpliftManager.Instance().NukeAllPackages();
     AssetDatabase.Refresh();
 }
コード例 #6
0
ファイル: MenuItems.cs プロジェクト: sjb8100/uplift
 private static void InstallLockfile()
 {
     UpliftManager.ResetInstances();
     UpliftManager.Instance().InstallDependencies(strategy: UpliftManager.InstallStrategy.ONLY_LOCKFILE);
     AssetDatabase.Refresh();
 }
コード例 #7
0
ファイル: MenuItems.cs プロジェクト: lacostej/Ashen-Horizon
 private static void InstallDependencies()
 {
     Debug.Log("Installing Upfile dependencies");
     UpliftManager.Instance().InstallDependencies();
     AssetDatabase.Refresh();
 }