Files
linux-workspace/bin/gws
Martin Blazik 816ac7b4c8 gws usecases
2020-10-02 06:49:44 +02:00

27 lines
449 B
Python
Executable File

#!/usr/bin/env python3
"""
gws = gw script
alias cbx='gw clean build -x test'
alias cbt='gw clean build compileTestKotlin'
compileTestKotlin
compositeTest
some script to compile
# use cases
gws build test
gws test
gws composite
gws clean build -x test :test :tools
"""
from sys import argv
modules = list(filter(lambda value: value.startswith(':'), argv[1:]))
args = [arg for arg in argv[1:] if arg not in modules]
print(args)
print(modules)