Skip to content
This repository
Browse code

Define roles in pear package for files.

Fixes a number of issues with the PEAR package where files
would be installed in the incorrect directories as the role type was
incorrect.

Fixes #2680
  • Loading branch information...
commit fe3d354b618de4a6bacc5376cbe8d78328920482 1 parent f1931e4
Mark Story authored March 14, 2012

Showing 1 changed file with 6 additions and 0 deletions. Show diff stats Hide diff stats

  1. 6  build.xml
6  build.xml
@@ -137,11 +137,17 @@
137 137
 				<package name="PHPUnit" channel="pear.phpunit.de" minimum_version="3.5.0" type="optional" />
138 138
 			</dependencies>
139 139
 			<dirroles key="bin">script</dirroles>
  140
+			<dirroles key="Cake/Test">php</dirroles>
  141
+			<dirroles key="Cake/Console/Templates/skel">php</dirroles>
  142
+			<dirroles key="Cake/Console/Templates/default">php</dirroles>
  143
+			<dirroles key="Cake/View">php</dirroles>
140 144
 			<release>
141 145
 				<install as="cake" name="bin/cake" />
142 146
 				<install as="cake.php" name="bin/cake.php" />
143 147
 				<install as="cake.bat" name="bin/cake.bat" />
144 148
 			</release>
  149
+			<exceptions key="Cake/VERSION.txt">php</exceptions>
  150
+			<exceptions key="Cake/LICENSE.txt">php</exceptions>
145 151
 		</d51pearpkg2>
146 152
 	</target>
147 153
 

0 notes on commit fe3d354

Please sign in to comment.
Something went wrong with that request. Please try again.