From 950077d2f459d92a01ef2104b87b54700c2fe027 Mon Sep 17 00:00:00 2001
From: Alex Ellis <alexellis2@gmail.com>
Date: Wed, 27 Sep 2017 11:00:21 +0100
Subject: [PATCH] Build the easy way

---
 sample-functions/build_all.sh | 15 +--------------
 1 file changed, 1 insertion(+), 14 deletions(-)

diff --git a/sample-functions/build_all.sh b/sample-functions/build_all.sh
index 15bca726..ef66154f 100755
--- a/sample-functions/build_all.sh
+++ b/sample-functions/build_all.sh
@@ -1,16 +1,3 @@
 #!/bin/bash
 
-export current=$(pwd)
-
-for dir in `ls`;
-do
-    test -d "$dir" || continue
-    cd $dir
-    echo $dir
-
-    if [ -e ./build.sh ]
-    then
-        ./build.sh
-    fi
-    cd ..
-done
+faas-cli build -f samples.yml --parallel 4
-- 
GitLab