Dave Jarvis' Repositories

git clone https://repo.autonoma.ca/repo/sales.git
.gitignore
-build
-dist
-target
-lib
-database
-working
-nbactions.xml
-_debug
+/target
+/database
+/working
+/nbactions.xml
+/_debug
+/lib
src/main/resources/scripts/2_ca_safeway.xml
</regexp>
- <var-def name="message_body">
+ <var-def name="message_body" id="message_body">
<call name="vendor-name" />
<call name="product-details" />
src/main/resources/scripts/lib/common.xml
+<?xml version="1.0" encoding="UTF-8"?>
+<config charset="UTF-8">
+ <function name="vendor-name">
+ <return>
+ <case>
+ <if condition="${include_vendor_name}">
+ <template>
+ <file path="templates/header-vendor-name.md"/>
+ </template>
+ </if>
+ </case>
+ </return>
+ </function>
+
+ <function name="product-details">
+ <return>
+ <case>
+ <if condition="${product_sale}">
+ <template>
+ <file path="templates/header-product-name.md"/>
+ <file path="templates/product-price.md"/>
+ </template>
+ </if>
+ </case>
+ </return>
+ </function>
+</config>

Ignore path-specific directory names. Add the common library for scripts.

Author djarvis <email>
Date 2016-07-02 16:42:02 GMT-0700
Commit 17f5f6623edb15f0937c56db49e7ce7f8f00c2ab
Parent a538289
Delta 34 lines added, 9 lines removed, 25-line increase