From 6657b0438a74c9b1cd043f6fcbf013d1f65429a1 Mon Sep 17 00:00:00 2001 From: Alexandru-Mihai Maftei Date: Wed, 3 Aug 2016 18:36:28 +0300 Subject: [PATCH] Added -j option to parallel... srsly --- vmake-1.2.0-2.rockspec => vmake-1.2.1.rockspec | 4 ++-- vmake.lua | 7 ++++--- 2 files changed, 6 insertions(+), 5 deletions(-) rename vmake-1.2.0-2.rockspec => vmake-1.2.1.rockspec (89%) diff --git a/vmake-1.2.0-2.rockspec b/vmake-1.2.1.rockspec similarity index 89% rename from vmake-1.2.0-2.rockspec rename to vmake-1.2.1.rockspec index e5bb7d1..4332256 100644 --- a/vmake-1.2.0-2.rockspec +++ b/vmake-1.2.1.rockspec @@ -1,9 +1,9 @@ package = "vmake" -version = "1.2.0-2" +version = "1.2.1" source = { url = "git://github.com/vercas/vMake", - tag = "v1.2.0-2", + tag = "v1.2.1", } description = { diff --git a/vmake.lua b/vmake.lua index 5c834e6..49563f3 100644 --- a/vmake.lua +++ b/vmake.lua @@ -52,8 +52,8 @@ if arg then end local vmake, vmake__call, getEnvironment = { - Version = "1.2.0", - VersionNumber = 1002000, + Version = "1.2.1", + VersionNumber = 1002001, Debug = false, Silent = false, @@ -4144,7 +4144,8 @@ function vmake.HandleCapture() for lvl = 0, #shFiles do local okay = sh.silent.tolerant("parallel", vmake.ParallelOpts , "--joblog", shFiles[lvl].LogPath - , "-a", shFiles[lvl].Path) + , "-a", shFiles[lvl].Path + , "-j", vmake.Jobs) if not okay then local fLog, errLog = io.open(tostring(shFiles[lvl].LogPath), "r")