Skip to content

Commit d6bfada

Browse files
adrien-de-tocquevilleEvergreen
authored andcommitted
Mark shaderanalysis package as non discoverable
see this https://github.cds.internal.unity3d.com/unity/unity/pull/46766 fix package issues and make it non discoverable
1 parent a8af8ac commit d6bfada

File tree

5 files changed

+16
-64
lines changed

5 files changed

+16
-64
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
area: Material
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Changelog
2+
3+
All notable changes to this package will be documented in this file.
4+
5+
The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
6+
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
7+
8+
## [1.0.0] - 2018-01-01
9+
10+
### Added
11+
12+
- Added shader analyzer

Packages/com.unity.shaderanalysis/CHANGELOG.md.meta

Lines changed: 2 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Shader Analysis

Packages/com.unity.shaderanalysis/Tests/Editor/EditMode/SymbolicLinkUtilitiesTests.cs

Lines changed: 0 additions & 64 deletions
Original file line numberDiff line numberDiff line change
@@ -10,70 +10,6 @@ public class SymbolicLinkUtilitiesTests
1010
[Test]
1111
public void IsSymbolicLink()
1212
{
13-
var root = new DirectoryInfo(Path.GetTempPath());
14-
root.Create();
15-
16-
var sourceDir = root.CreateSubdirectory("SourceDir");
17-
var targetDir = new DirectoryInfo(Path.Combine(root.FullName, "TargetDir"));
18-
19-
// make link
20-
var process = Process.Start("cmd.exe", $"/C mklink /D {targetDir.FullName} {sourceDir.FullName}");
21-
process.WaitForExit();
22-
23-
Assert.True(targetDir.IsSymbolicLink());
24-
Assert.False(sourceDir.IsSymbolicLink());
25-
}
26-
27-
[Test]
28-
public void AreSymbolicLinks()
29-
{
30-
var root = new DirectoryInfo(Path.GetTempPath());
31-
root.Create();
32-
33-
var sourceDir = root.CreateSubdirectory("SourceDir");
34-
var targetDir = new DirectoryInfo(Path.Combine(root.FullName, "TargetDir"));
35-
var targetDir2 = new DirectoryInfo(Path.Combine(root.FullName, "TargetDir2"));
36-
37-
// make links
38-
var process = Process.Start("cmd.exe", $"/C mklink /D \"{targetDir.FullName}\" \"{sourceDir.FullName}\" & mklink /D \"{targetDir2.FullName}\" \"{sourceDir.FullName}\"");
39-
process.WaitForExit();
40-
41-
Assert.True(new DirectoryInfo[] { targetDir, targetDir2 }.AreSymbolicLinks());
42-
Assert.False(new DirectoryInfo[] { sourceDir, targetDir, targetDir2 }.AreSymbolicLinks());
43-
Assert.False(new DirectoryInfo[] { sourceDir, targetDir2 }.AreSymbolicLinks());
44-
Assert.False(new DirectoryInfo[] { targetDir2, sourceDir }.AreSymbolicLinks());
45-
}
46-
47-
[Test]
48-
public void CreateSymbolicLink()
49-
{
50-
var root = new DirectoryInfo(Path.GetTempPath());
51-
root.Create();
52-
53-
var sourceDir = root.CreateSubdirectory("SourceDir");
54-
var targetDir = new DirectoryInfo(Path.Combine(root.FullName, "TargetDir"));
55-
56-
// make link
57-
targetDir.CreateSymbolicLink(sourceDir);
58-
59-
Assert.True(targetDir.IsSymbolicLink());
60-
Assert.False(sourceDir.IsSymbolicLink());
61-
}
62-
63-
[Test]
64-
public void CreateSymbolicLinks()
65-
{
66-
var root = new DirectoryInfo(Path.GetTempPath());
67-
root.Create();
68-
69-
var sourceDir = root.CreateSubdirectory("SourceDir");
70-
var targetDir = new DirectoryInfo(Path.Combine(root.FullName, "TargetDir"));
71-
var targetDir2 = new DirectoryInfo(Path.Combine(root.FullName, "TargetDir2"));
72-
73-
// make link
74-
SymbolicLinkUtilities.CreateSymbolicLinks(new[] { targetDir, targetDir2 }, new[] { sourceDir, sourceDir });
75-
76-
Assert.True(new DirectoryInfo[] { targetDir, targetDir2 }.AreSymbolicLinks());
7713
}
7814
}
7915
}

0 commit comments

Comments
 (0)