diff options
| author | LV-426 <lv-426@taproot.org.il> | 2015-05-12 11:21:32 +0300 |
|---|---|---|
| committer | LV-426 <lv-426@taproot.org.il> | 2015-05-12 14:59:08 +0300 |
| commit | 7bea0fd4fe4016483f7af4a17c5a5e24e47b75bc (patch) | |
| tree | 3c058ada12b2ea8f87f3434d904a1450ad8c1442 /build.ant | |
| parent | c82c9625568a2c3b758a7c9edb79d816d5d4b10f (diff) | |
app.js: support fragment path injection
Diffstat (limited to 'build.ant')
| -rw-r--r-- | build.ant | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -163,6 +163,11 @@ excludes="template.d/" /> </copy> + <replaceregexp file="${deploy_target_dir}/static/js/app.js"> + <regexp pattern="\$\{fragment_d_path\}" /> + <substitution expression="/static/fragment.d" /> + </replaceregexp> + </parallel> </target> @@ -243,6 +248,11 @@ <substitution expression="${package_name}" /> </replaceregexp> + <replaceregexp file="${build_dir__deb_pkg}/src/client/app.js"> + <regexp pattern="\$\{fragment_d_path\}" /> + <substitution expression="/fragment.d" /> + </replaceregexp> + <!-- generate version fragment --> <generate_version_tag outputdir="${build_dir__deb_pkg}/${default_fragmentd_src_path}/template.d" /> |
