cardboard 0.1.0 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/cardboard.gemspec +1 -1
- data/libexec/cibuild +9 -4
- data/libexec/syntax +4 -1
- metadata +2 -2
data/cardboard.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |gem|
|
2
2
|
gem.name = "cardboard"
|
3
|
-
gem.version = "0.
|
3
|
+
gem.version = "0.2.0"
|
4
4
|
gem.authors = ["John Barnette", "Will Farrington"]
|
5
5
|
gem.email = ["jbarnette@github.com", "wfarr@github.com"]
|
6
6
|
gem.description = "Development tools for Boxen's puppet modules."
|
data/libexec/cibuild
CHANGED
@@ -1,8 +1,13 @@
|
|
1
1
|
#!/bin/sh
|
2
2
|
# Check everything for CI.
|
3
3
|
|
4
|
-
|
4
|
+
libexec=$(dirname "$0")
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
6
|
+
echo "--> Checking syntax:"
|
7
|
+
"$libexec/syntax" || exit 1
|
8
|
+
|
9
|
+
echo "--> Running specs:"
|
10
|
+
"$libexec/specs" || exit 1
|
11
|
+
|
12
|
+
echo "--> Checking lint:"
|
13
|
+
"$libexec/lint" || exit 1
|
data/libexec/syntax
CHANGED
@@ -5,7 +5,10 @@ set -e
|
|
5
5
|
|
6
6
|
puppets=`find manifests -name '*.pp' -print 2>/dev/null`
|
7
7
|
rubies=`find lib spec -name '*.rb' -not -path 'spec/fixtures/*' -print 2>/dev/null`
|
8
|
-
|
8
|
+
|
9
|
+
if [ -d "templates" ] ; then
|
10
|
+
templates=`find templates -type f -print 2>/dev/null`
|
11
|
+
fi
|
9
12
|
|
10
13
|
for puppet in $puppets; do
|
11
14
|
/bin/echo -n "${puppet}: "
|