You've already forked gnatdashboard
mirror of
https://github.com/AdaCore/gnatdashboard.git
synced 2026-02-12 12:30:42 -08:00
- Added hour to have unique tar.gz name Change-Id: Ida7280a144866e4fa1954b71b4108bd9334e07c2 For: T123-010
14 lines
354 B
Python
Executable File
14 lines
354 B
Python
Executable File
#!/usr/bin/env python
|
|
|
|
import time
|
|
from subprocess import call
|
|
|
|
DATETIME = time.strftime('%Y-%m-%d-%H-%M-%S')
|
|
NODE_MODULE_PATH = './node_modules/'
|
|
TAR_NAME = 'webui_node_modules_' + DATETIME + '.tar.gz '
|
|
|
|
TAR_CMD = "tar -zcf " + TAR_NAME + NODE_MODULE_PATH
|
|
print "Executing : " + TAR_CMD
|
|
print "Can take a little bit of time..."
|
|
call(TAR_CMD.split(' '))
|