forked from LiveCarta/LiveCartaMeta
@@ -3,18 +3,18 @@
|
||||
|
||||
|
||||
<target name="build"
|
||||
depends="copy, replace, archive"
|
||||
depends="replace, archive"
|
||||
description="Performs static analysis, runs the tests, and generates project documentation"/>
|
||||
|
||||
|
||||
<target name="replace"
|
||||
unless="replace.done"
|
||||
description="Replace placeholders in config files" >
|
||||
<replace file="../.env" token="@lcDbName@" value="${lcDbName}"/>
|
||||
<replace file="../.env" token="@lcDbHost@" value="${lcDbHost}"/>
|
||||
<replace file="../.env.sample" token="@lcDbName@" value="${lcDbName}"/>
|
||||
<replace file="../.env.sample" token="@lcDbHost@" value="${lcDbHost}"/>
|
||||
|
||||
<replace file="../.env" token="@lcApiUrl@" value="${lcApiUrl}"/>
|
||||
<replace file="../.env" token="@lcApiKey@" value="${lcApiKey}"/>
|
||||
<replace file="../.env.sample" token="@lcApiUrl@" value="${lcApiUrl}"/>
|
||||
<replace file="../.env.sample" token="@lcApiKey@" value="${lcApiKey}"/>
|
||||
|
||||
<property name="replace.done" value="true"/>
|
||||
</target>
|
||||
|
||||
Reference in New Issue
Block a user