Skip to content

Commit

Permalink
Merge pull request #11 from UniToolsTeam/feature/remove-build-chcche
Browse files Browse the repository at this point in the history
Misc: version 0.0.5
  • Loading branch information
Rinal authored Mar 24, 2022
2 parents e22dadb + 03cd3cf commit cf06318
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion Editor/Core/Steps/Build/ScriptableBuildStepWithOptions.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using System.Linq;
using UniTools.Build;
using UnityEditor;
using UnityEngine;

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

protected BuildPlayerOptions Options
{
Expand All @@ -25,6 +25,11 @@ protected BuildPlayerOptions Options
buildPlayerOptions.options = BuildOptions.Development;
}

if (m_cleanBuildCache)
{
buildPlayerOptions.options |= BuildOptions.CleanBuildCache;
}

return buildPlayerOptions;
}
}
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"displayName": "UniTools.Build",
"name": "com.unitools.build",
"version": "0.0.4-preview",
"version": "0.0.5-preview",
"unity": "2019.1",
"description": "Customizable Build Pipeline for Unity3D",
"keywords": [
Expand Down

0 comments on commit cf06318

Please sign in to comment.