Skip to content
This repository has been archived by the owner on Feb 29, 2020. It is now read-only.

Commit

Permalink
1.0 Asset Validator
Browse files Browse the repository at this point in the history
Migrating asset validator content from older repository. Compressed example content into an .unitypackage file and removed the uncompressed contents

Added license and license header file to project. Added MIT license to all files.

Modified the menu items to redirect to the editor window and modified their priority so that there is now a separator between several items. Modified the Asset Bundle and Resource Path validators and unit tests so that test contracts do not get swept up during normal usage. Removed menu item functionality for toggling off/on debugging.

Reorganized and cleaned up project now that this project will no longer have a premium and free component. Removed unused methods and classes

Updated readme with updated examples and the newer MIT license.

Altered progress shown to be a description of the time running rather than a percentage of the validation run, since it is a better way to show that the runner is actively working. Fixed a bug where the UI counts for info/warning/error logs are cut off when the count is three digits long.

Modified the editor window to disable all other controls when a validation run is being made. Added several helpful comments on AssetValidatorCI.Result members. Fixed a bug in the EnsureComponentIsUniqueValidator where it would flag a validation error anytime a targeted component is found rather than more than one. Modified the readme to show examples of continuous integration and screenshots of the editor tool.

Modified project to have an AssemblyDefinition file for runtime/editor code
  • Loading branch information
jeffcampbellmakesgames authored and jzapdot committed Jul 27, 2018
0 parents commit ed350eb
Show file tree
Hide file tree
Showing 292 changed files with 14,839 additions and 0 deletions.
35 changes: 35 additions & 0 deletions AssetBundlePathContract.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
/*
AssetValidator
Copyright (c) 2018 Jeff Campbell
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
using System;
using System.Collections.Generic;

namespace JCMG.AssetValidator
{
public class AssetBundlePathContract
{
public virtual Dictionary<string, List<string>> GetPaths()
{
throw new NotImplementedException();
}
}
}
13 changes: 13 additions & 0 deletions AssetBundlePathContract.cs.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

70 changes: 70 additions & 0 deletions AssetValidator.licenseheader
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
extensions: designer.cs generated.cs
extensions: .cs .cpp .h
/*
AssetValidator
Copyright (c) 2018 Jeff Campbell

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
extensions: .aspx .ascx
<%--
AssetValidator
Copyright (c) 2018 Jeff Campbell

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
--%>
extensions: .xml .config .xsd
<!--
AssetValidator
Copyright (c) 2018 Jeff Campbell

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
-->
9 changes: 9 additions & 0 deletions AssetValidator.licenseheader.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added AssetValidatorEditorWindow.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
77 changes: 77 additions & 0 deletions AssetValidatorEditorWindow.png.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added AssetValidatorExamples.unitypackage
Binary file not shown.
9 changes: 9 additions & 0 deletions AssetValidatorExamples.unitypackage.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file added AssetValidatorMenuItems.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
77 changes: 77 additions & 0 deletions AssetValidatorMenuItems.png.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions Editor.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions Editor/CI.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ed350eb

Please sign in to comment.