You've already forked gnatdashboard
mirror of
https://github.com/AdaCore/gnatdashboard.git
synced 2026-02-12 12:30:42 -08:00
Remove node-sass which is not yet compatible with python3 (need to wait for the 5+ release) => replace it by dart-sass. Remove angular-cli which is expecting node-sass. Update node-gyp to a version using python3. Update the packaging script via 2to3. Change-Id: Ie4c659253ffa4d2f942c4b4a9cfcda802e47a7b2
14 lines
356 B
Python
Executable File
14 lines
356 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(' '))
|