Skip to content

Commit cf06318

Browse files
authored
Merge pull request #11 from UniToolsTeam/feature/remove-build-chcche
Misc: version 0.0.5
2 parents e22dadb + 03cd3cf commit cf06318

File tree

2 files changed

+7
-2
lines changed

2 files changed

+7
-2
lines changed

Editor/Core/Steps/Build/ScriptableBuildStepWithOptions.cs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
using System.Linq;
2-
using UniTools.Build;
32
using UnityEditor;
43
using UnityEngine;
54

@@ -9,6 +8,7 @@ public abstract class ScriptableBuildStepWithOptions : ScriptablePlatformBuildSt
98
{
109
[SerializeField] private PathProperty m_path = default;
1110
[SerializeField] private bool m_developmentBuild = false;
11+
[SerializeField] private bool m_cleanBuildCache = false;
1212

1313
protected BuildPlayerOptions Options
1414
{
@@ -25,6 +25,11 @@ protected BuildPlayerOptions Options
2525
buildPlayerOptions.options = BuildOptions.Development;
2626
}
2727

28+
if (m_cleanBuildCache)
29+
{
30+
buildPlayerOptions.options |= BuildOptions.CleanBuildCache;
31+
}
32+
2833
return buildPlayerOptions;
2934
}
3035
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"displayName": "UniTools.Build",
33
"name": "com.unitools.build",
4-
"version": "0.0.4-preview",
4+
"version": "0.0.5-preview",
55
"unity": "2019.1",
66
"description": "Customizable Build Pipeline for Unity3D",
77
"keywords": [

0 commit comments

Comments
 (0)