Idea about tiger compilation script
This commit is contained in:
21
bin/gws
Executable file
21
bin/gws
Executable file
@@ -0,0 +1,21 @@
|
|||||||
|
#!/usr/bin/env python3
|
||||||
|
|
||||||
|
# wgs = gw script
|
||||||
|
|
||||||
|
#alias cbx='gw clean build -x test'
|
||||||
|
#alias cbt='gw clean build compileTestKotlin'
|
||||||
|
# compileTestKotlin
|
||||||
|
# compositeTest
|
||||||
|
# some script to compile
|
||||||
|
|
||||||
|
# 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)
|
||||||
Reference in New Issue
Block a user