Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/gruntworker.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Rebert <code@rebertia.com>2015-03-09 06:27:42 +0300
committerChris Rebert <code@rebertia.com>2015-03-09 06:29:42 +0300
commit1ea249a405ef0cd16b292d222f15428af3ba4ad7 (patch)
tree778604ad09147af612bddccd86bea388a057ee46
parent640c62bab08b4595432e62f5c28776b455e4491a (diff)
add shrinkwrap filepath constants
-rwxr-xr-xgruntworker.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/gruntworker.py b/gruntworker.py
index bae068e..551ccdc 100755
--- a/gruntworker.py
+++ b/gruntworker.py
@@ -4,8 +4,13 @@
from sys import exit # pylint: disable=W0622
from subprocess import check_call, check_output, DEVNULL, CalledProcessError
from shutil import rmtree
+from os.path import join as pathjoin
from datetime import datetime
+SHRINKWRAP_FILENAME = 'npm-shrinkwrap.json'
+SHRINKWRAP_DIR = 'test-infra'
+SHRINKWRAP_FILEPATH = pathjoin(SHRINKWRAP_DIR, SHRINKWRAP_FILENAME)
+
def log(*args):
now = datetime.now().replace(microsecond=0).isoformat(' ')