wrapper: refactor docker into submodule

This commit is contained in:
InsanePrawn 2022-02-16 20:44:42 +01:00
parent b6dfc9e065
commit 418a8c16c2
6 changed files with 219 additions and 121 deletions

View file

@ -5,6 +5,8 @@ import logging
from copy import deepcopy
import click
from constants import WRAPPER_TYPES
CONFIG_DIR = appdirs.user_config_dir('kupfer')
CACHE_DIR = appdirs.user_cache_dir('kupfer')
@ -27,6 +29,9 @@ PROFILE_DEFAULTS: Profile = {
PROFILE_EMPTY: Profile = {key: None for key in PROFILE_DEFAULTS.keys()}
CONFIG_DEFAULTS = {
'wrapper': {
'type': 'docker',
},
'build': {
'ccache': True,
'clean_mode': True,