Skip to content

Commit 537d01a

Browse files
committed
update docs.
1 parent fef7e5c commit 537d01a

2 files changed

Lines changed: 41 additions & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,7 @@ Check the [example.drawbridge.yml](https://github.com/AnalogJ/drawbridge/blob/ma
259259

260260
# Testing [![Circle CI](https://img.shields.io/circleci/project/github/AnalogJ/drawbridge.svg?style=flat-square)](https://circleci.com/gh/AnalogJ/drawbridge)
261261
Drawbridge provides an extensive test-suite based on `go test`.
262-
You can run all the integration & unit tests with `go test $(glide novendor)`
262+
You can run all the integration & unit tests with `go test $(go list ./... | grep -v /vendor/)`
263263

264264
CircleCI is used for continuous integration testing: https://circleci.com/gh/AnalogJ/drawbridge
265265

example.drawbridge.yaml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,46 @@ questions:
132132
# Answers
133133
answers: []
134134

135+
######################################################################
136+
# Template Functions
137+
#
138+
# The following functions are available for use in the templates, mapping to
139+
# Go functions.
140+
#
141+
#
142+
# TEMPLATE FUNCTION GO FUNCTION
143+
#
144+
# "uniquePort": UniquePort,
145+
# "expandPath": ExpandPath,
146+
# "stringsCompare": strings.Compare,
147+
# "stringsContains": strings.Contains,
148+
# "stringsContainsAny": strings.ContainsAny,
149+
# "stringsCount": strings.Count,
150+
# "stringsEqualFold": strings.EqualFold,
151+
# "stringsHasPrefix": strings.HasPrefix,
152+
# "stringsHasSuffix": strings.HasSuffix,
153+
# "stringsIndex": strings.Index,
154+
# "stringsIndexAny": strings.IndexAny,
155+
# "stringsJoin": strings.Join,
156+
# "stringsLastIndex": strings.LastIndex,
157+
# "stringsLastIndexAny": strings.LastIndexAny,
158+
# "stringsRepeat": strings.Repeat,
159+
# "stringsReplace": strings.Replace,
160+
# "stringsSplit": strings.Split,
161+
# "stringsSplitAfter": strings.SplitAfter,
162+
# "stringsSplitAfterN": strings.SplitAfterN,
163+
# "stringsSplitN": strings.SplitN,
164+
# "stringsTitle": strings.Title,
165+
# "stringsToLower": strings.ToLower,
166+
# "stringsToTitle": strings.ToTitle,
167+
# "stringsToUpper": strings.ToUpper,
168+
# "stringsTrim": strings.Trim,
169+
# "stringsTrimLeft": strings.TrimLeft,
170+
# "stringsTrimPrefix": strings.TrimPrefix,
171+
# "stringsTrimRight": strings.TrimRight,
172+
# "stringsTrimSpace": strings.TrimSpace,
173+
# "stringsTrimSuffix": strings.TrimSuffix,
174+
135175
######################################################################
136176
# SSH Config Templates
137177
#

0 commit comments

Comments
 (0)