|
81 | 81 | <ProjectReference Include="..\webdriver\WebDriver.csproj" />
|
82 | 82 | </ItemGroup>
|
83 | 83 |
|
| 84 | + <ItemGroup Condition="'$(BuildSystem)' == 'buck'"> |
| 85 | + <EmbeddedResource Include="$(MSBuildProjectDirectory)\..\..\..\buck-out\gen\java\client\src\com\thoughtworks\selenium\webdriven\injectableSelenium.js\injectableSelenium.js"> |
| 86 | + <Visible>False</Visible> |
| 87 | + <LogicalName>injectableSelenium.js</LogicalName> |
| 88 | + </EmbeddedResource> |
| 89 | + <EmbeddedResource Include="$(MSBuildProjectDirectory)\..\..\..\buck-out\gen\java\client\src\com\thoughtworks\selenium\webdriven\htmlutils.js\htmlutils.js"> |
| 90 | + <Visible>False</Visible> |
| 91 | + <LogicalName>htmlutils.js</LogicalName> |
| 92 | + </EmbeddedResource> |
| 93 | + <EmbeddedResource Include="$(MSBuildProjectDirectory)\..\..\..\buck-out\gen\javascript\selenium-atoms\findElement.js"> |
| 94 | + <Visible>False</Visible> |
| 95 | + <LogicalName>findElement.js</LogicalName> |
| 96 | + </EmbeddedResource> |
| 97 | + <EmbeddedResource Include="$(MSBuildProjectDirectory)\..\..\..\buck-out\gen\javascript\selenium-atoms\findOption.js"> |
| 98 | + <Visible>False</Visible> |
| 99 | + <LogicalName>findOption.js</LogicalName> |
| 100 | + </EmbeddedResource> |
| 101 | + <EmbeddedResource Include="$(MSBuildProjectDirectory)\..\..\..\buck-out\gen\javascript\selenium-atoms\fireEvent.js"> |
| 102 | + <Visible>False</Visible> |
| 103 | + <LogicalName>fireEvent.js</LogicalName> |
| 104 | + </EmbeddedResource> |
| 105 | + <EmbeddedResource Include="$(MSBuildProjectDirectory)\..\..\..\buck-out\gen\javascript\selenium-atoms\fireEventAt.js"> |
| 106 | + <Visible>False</Visible> |
| 107 | + <LogicalName>fireEventAt.js</LogicalName> |
| 108 | + </EmbeddedResource> |
| 109 | + <EmbeddedResource Include="$(MSBuildProjectDirectory)\..\..\..\buck-out\gen\javascript\selenium-atoms\getText.js"> |
| 110 | + <Visible>False</Visible> |
| 111 | + <LogicalName>getText.js</LogicalName> |
| 112 | + </EmbeddedResource> |
| 113 | + <EmbeddedResource Include="$(MSBuildProjectDirectory)\..\..\..\buck-out\gen\javascript\selenium-atoms\linkLocator.js"> |
| 114 | + <Visible>False</Visible> |
| 115 | + <LogicalName>linkLocator.js</LogicalName> |
| 116 | + </EmbeddedResource> |
| 117 | + <EmbeddedResource Include="$(MSBuildProjectDirectory)\..\..\..\buck-out\gen\javascript\selenium-atoms\isElementPresent.js"> |
| 118 | + <Visible>False</Visible> |
| 119 | + <LogicalName>isElementPresent.js</LogicalName> |
| 120 | + </EmbeddedResource> |
| 121 | + <EmbeddedResource Include="$(MSBuildProjectDirectory)\..\..\..\buck-out\gen\javascript\selenium-atoms\isSomethingSelected.js"> |
| 122 | + <Visible>False</Visible> |
| 123 | + <LogicalName>isSomethingSelected.js</LogicalName> |
| 124 | + </EmbeddedResource> |
| 125 | + <EmbeddedResource Include="$(MSBuildProjectDirectory)\..\..\..\buck-out\gen\javascript\selenium-atoms\isVisible.js"> |
| 126 | + <Visible>False</Visible> |
| 127 | + <LogicalName>isVisible.js</LogicalName> |
| 128 | + </EmbeddedResource> |
| 129 | + <EmbeddedResource Include="$(MSBuildProjectDirectory)\..\..\..\buck-out\gen\javascript\selenium-atoms\type.js"> |
| 130 | + <Visible>False</Visible> |
| 131 | + <LogicalName>type.js</LogicalName> |
| 132 | + </EmbeddedResource> |
| 133 | + </ItemGroup> |
| 134 | + |
84 | 135 | <Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(BuildSystem)' == 'visual-studio'">
|
85 | 136 | <Exec Command="copy /y "$(ProjectDir)..\..\..\java\client\src\com\thoughtworks\selenium\webdriven\injectableSelenium.js" "$(TargetDir)" > NUL
copy /y "$(ProjectDir)..\..\..\java\client\src\com\thoughtworks\selenium\webdriven\htmlutils.js" "$(TargetDir)" > "NUL
if exist "$(ProjectDir)..\..\..\buck-out\gen\javascript\selenium-atoms\findElement.js" copy /y "$(ProjectDir)..\..\..\buck-out\gen\javascript\selenium-atoms\findElement.js" "$(TargetDir)" > NUL
if exist "$(ProjectDir)..\..\..\buck-out\gen\javascript\selenium-atoms\findOption.js" copy /y "$(ProjectDir)..\..\..\buck-out\gen\javascript\selenium-atoms\findOption.js" "$(TargetDir)" > NUL
if exist "$(ProjectDir)..\..\..\buck-out\gen\javascript\selenium-atoms\fireEvent.js" copy /y "$(ProjectDir)..\..\..\buck-out\gen\javascript\selenium-atoms\fireEvent.js" "$(TargetDir)" > NUL
if exist "$(ProjectDir)..\..\..\buck-out\gen\javascript\selenium-atoms\fireEventAt.js" copy /y "$(ProjectDir)..\..\..\buck-out\gen\javascript\selenium-atoms\fireEventAt.js" "$(TargetDir)" > NUL
if exist "$(ProjectDir)..\..\..\buck-out\gen\javascript\selenium-atoms\getText.js" copy /y "$(ProjectDir)..\..\..\buck-out\gen\javascript\selenium-atoms\getText.js" "$(TargetDir)" > NUL
if exist "$(ProjectDir)..\..\..\buck-out\gen\javascript\selenium-atoms\linkLocator.js" copy /y "$(ProjectDir)..\..\..\buck-out\gen\javascript\selenium-atoms\linkLocator.js" "$(TargetDir)" > NUL
if exist "$(ProjectDir)..\..\..\buck-out\gen\javascript\selenium-atoms\isElementPresent.js" copy /y "$(ProjectDir)..\..\..\buck-out\gen\javascript\selenium-atoms\isElementPresent.js" "$(TargetDir)" > NUL
if exist "$(ProjectDir)..\..\..\buck-out\gen\javascript\selenium-atoms\isSomethingSelected.js" copy /y "$(ProjectDir)..\..\..\buck-out\gen\javascript\selenium-atoms\isSomethingSelected.js" "$(TargetDir)" > NUL
if exist "$(ProjectDir)..\..\..\buck-out\gen\javascript\selenium-atoms\isTextPresent.js" copy /y "$(ProjectDir)..\..\..\buck-out\gen\javascript\selenium-atoms\isTextPresent.js" "$(TargetDir)" > NUL
if exist "$(ProjectDir)..\..\..\buck-out\gen\javascript\selenium-atoms\isVisible.js" copy /y "$(ProjectDir)..\..\..\buck-out\gen\javascript\selenium-atoms\isVisible.js" "$(TargetDir)" > NUL
if exist "$(ProjectDir)..\..\..\buck-out\gen\javascript\selenium-atoms\type.js" copy /y "$(ProjectDir)..\..\..\buck-out\gen\javascript\selenium-atoms\type.js" "$(TargetDir)" > NUL
" />
|
86 | 137 | </Target>
|
|
0 commit comments