Commit 26d593b8 authored by xiabin's avatar xiabin

添加自动化以及修改相关的配置

parent a7b0fb93
...@@ -76,6 +76,7 @@ ...@@ -76,6 +76,7 @@
</copy> </copy>
<echo message="copy to build end"/> <echo message="copy to build end"/>
</target> </target>
<!-- install composer npm --> <!-- install composer npm -->
...@@ -96,6 +97,21 @@ ...@@ -96,6 +97,21 @@
<echo message="yii2 init start"/> <echo message="yii2 init start"/>
<exec command="${php.bin} ${dir.output}/init --env=Development --overwrite=n" passthru="true"/> <exec command="${php.bin} ${dir.output}/init --env=Development --overwrite=n" passthru="true"/>
<echo message="yii2 init end"/> <echo message="yii2 init end"/>
<echo message="delete other start"/>
<delete dir="${dir.output}/bin" />
<delete dir="${dir.output}/environments" />
<delete dir="${dir.output}/tests" />
<delete dir="${dir.output}/frontend/web/js" />
<delete dir="${dir.output}/frontend/web/css" />
<delete dir="${dir.output}/frontend/web/fonts" />
<delete dir="${dir.output}/frontend/web/img" />
<delete file="${dir.output}/frontend/web/package.json" />
<delete file="${dir.output}/frontend/web/webpack.config.js" />
<delete file="${dir.output}/composer.json" />
<delete file="${dir.output}/composer.lock" />
<echo message="delete other end"/>
</target> </target>
<target name="all" depends="init,install"/> <target name="all" depends="init,install"/>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment