Verified Commit ed0b5f5b authored by Brian Douglass's avatar Brian Douglass
Browse files

Added precompiled build template

parent e7203acd
Pipeline #111920865 passed with stage
in 8 minutes and 46 seconds
......@@ -56,3 +56,12 @@ class PureBuilder(Builder):
class PythonBuilder(PureBuilder):
# The only difference between this and the Pure template is that this doesn't force the "all" arch
name = Config.PYTHON
def build(self):
logger.warn('The "python" build template is deprecated, please use "precompiled" instead')
super().build()
class PrecompiledBuilder(PureBuilder):
# The only difference between this and the Pure template is that this doesn't force the "all" arch
name = Config.PRECOMPILED
......@@ -31,6 +31,7 @@
"python",
"go",
"rust",
"precompiled",
""
]
},
......
......@@ -52,8 +52,9 @@ class Config(object):
PYTHON = 'python'
GO = 'go'
RUST = 'rust'
PRECOMPILED = 'precompiled'
templates = [PURE_QML_QMAKE, QMAKE, PURE_QML_CMAKE, CMAKE, CUSTOM, CORDOVA, PURE, PYTHON, GO, RUST]
templates = [PURE_QML_QMAKE, QMAKE, PURE_QML_CMAKE, CMAKE, CUSTOM, CORDOVA, PURE, PYTHON, GO, RUST, PRECOMPILED]
arch_agnostic_templates = [PURE_QML_QMAKE, PURE_QML_CMAKE, PURE]
container_mapping = {
......
......@@ -38,10 +38,16 @@ pure
A project that does not need to be compiled. All files in the project root will be copied into the click.
precompiled
-----------
A project that does not need to be compiled. All files in the project root will be copied into the click.
There may be precompiled binaries or libraries included in apps build with this template.
python
------
A project that uses python and does not need to be compiled.
Deprecated, use "precompiled" instead.
go
--
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment