From 57eda7651858b467332bcf21fd15a983b114ca2b Mon Sep 17 00:00:00 2001 From: Martin Blazik Date: Fri, 25 Sep 2020 15:32:27 +0200 Subject: [PATCH] Idea about tiger compilation script --- bin/gws | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 bin/gws diff --git a/bin/gws b/bin/gws new file mode 100755 index 0000000..226d126 --- /dev/null +++ b/bin/gws @@ -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)