|
12 | 12 |
|
13 | 13 | <!-- Load the root project.yml file for this project. -->
|
14 | 14 | <property file="${blt.root}/project.yml" override="true"/>
|
| 15 | + <!-- Load the core build.yml. --> |
| 16 | + <property file="${blt.root}/template/build/core/phing/build.yml" /> |
15 | 17 |
|
16 | 18 | <taskdef name="randomString" classname="${blt.root}.vendor.platinumpixs.phing-random-string.src.PlatinumPixs.RandomString.GenerateTask" />
|
17 | 19 |
|
|
26 | 28 | <target name="clean" description="Removes generated configuration files from BLT directory.">
|
27 | 29 | <delete file="${blt.root}/project.yml" quiet="true"/>
|
28 | 30 | <delete file="${blt.root}/local.settings.php" quiet="true"/>
|
29 |
| - <delete file="${blt.root}/local.drushrc.php" quiet="true"/> |
30 | 31 | <delete file="${blt.root}/template/sites/default/settings/local.settings.php" quiet="true"/>
|
31 | 32 | <delete file="${blt.root}/template/tests/behat/local.yml" quiet="true"/>
|
32 | 33 | <delete dir="${blt.root}/template/vendor" quiet="true"/>
|
|
42 | 43 | <expandproperties />
|
43 | 44 | </filterchain>
|
44 | 45 | </copy>
|
45 |
| - <copy file="${blt.root}/template/docroot/sites/default/settings/default.local.settings.php" tofile="${blt.root}/local.settings.php" /> |
46 |
| - <copy file="${blt.root}/template/docroot/sites/default/default.local.drushrc.php" tofile="${blt.root}/local.drushrc.php"> |
47 |
| - <filterchain> |
48 |
| - <expandproperties /> |
49 |
| - </filterchain> |
50 |
| - </copy> |
| 46 | + <copy file="${blt.root}/template/docroot/sites/default/settings/default.local.settings.php" tofile="${blt.root}/local.settings.php"/> |
51 | 47 |
|
52 | 48 | <echo></echo>
|
53 | 49 | <echo>The following files have been generated:</echo>
|
54 | 50 | <echo>${blt.root}/project.yml</echo>
|
55 | 51 | <echo>${blt.root}/local.settings.php</echo>
|
56 |
| - <echo>${blt.root}/local.drushrc.php</echo> |
57 | 52 | <echo></echo>
|
58 | 53 | <echo>Modify these files and then run "./blt.sh create" to generate a new project.</echo>
|
59 | 54 | </target>
|
|
103 | 98 | <!-- Copy configuration files to new project. -->
|
104 | 99 | <copy file="${blt.root}/project.yml" tofile="${blt.new.dir}/project.yml" overwrite="true" />
|
105 | 100 | <copy file="${blt.root}/local.settings.php" tofile="${blt.new.dir}/docroot/sites/default/settings/local.settings.php" overwrite="true" />
|
106 |
| - <copy file="${blt.root}/local.drushrc.php" tofile="${blt.new.dir}/docroot/sites/default/local.drushrc.php" overwrite="true"> |
| 101 | + <copy file="${blt.root}/template/docroot/sites/default/default.local.drushrc.php" tofile="${blt.new.dir}/docroot/sites/default/local.drushrc.php"> |
107 | 102 | <filterchain>
|
108 | 103 | <expandproperties />
|
109 | 104 | </filterchain>
|
|
0 commit comments