File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ BUILDSYS_ARCH = { script = ['echo "${BUILDSYS_ARCH:-$(uname -m)}"'] }
1111BUILDSYS_ROOT_DIR = " ${CARGO_MAKE_WORKING_DIRECTORY}"
1212BUILDSYS_BUILD_DIR = " ${BUILDSYS_ROOT_DIR}/build"
1313BUILDSYS_PACKAGES_DIR = " ${BUILDSYS_BUILD_DIR}/rpms"
14+ BUILDSYS_KITS_DIR = " ${BUILDSYS_BUILD_DIR}/kits"
1415BUILDSYS_STATE_DIR = " ${BUILDSYS_BUILD_DIR}/state"
1516BUILDSYS_IMAGES_DIR = " ${BUILDSYS_BUILD_DIR}/images"
1617BUILDSYS_TOOLS_DIR = " ${BUILDSYS_ROOT_DIR}/tools"
280281mkdir -p ${BUILDSYS_BUILD_DIR}
281282mkdir -p ${BUILDSYS_OUTPUT_DIR}
282283mkdir -p ${BUILDSYS_PACKAGES_DIR}
284+ mkdir -p ${BUILDSYS_KITS_DIR}
283285mkdir -p ${BUILDSYS_STATE_DIR}
284286mkdir -p ${BUILDSYS_METADATA_DIR}
285287mkdir -p ${GO_MOD_CACHE}
@@ -1531,11 +1533,13 @@ extend = "_upload-ova-base"
15311533dependencies = [
15321534 " clean-sources" ,
15331535 " clean-packages" ,
1536+ " clean-kits" ,
15341537 " clean-images" ,
15351538 " clean-repos" ,
15361539 " clean-state" ,
15371540 " clean-tools" ,
15381541 " clean-metadata" ,
1542+ " clean-workspace" ,
15391543]
15401544
15411545[tasks .clean-sources ]
@@ -1551,12 +1555,27 @@ rm -f ${BUILDSYS_TOOLS_DIR}/bin/*
15511555'''
15521556]
15531557
1558+ [tasks .clean-workspace ]
1559+ script_runner = " bash"
1560+ script = [
1561+ '''
1562+ cargo clean --manifest-path "${BUILDSYS_ROOT_DIR}/Cargo.toml"
1563+ '''
1564+ ]
1565+
15541566[tasks .clean-packages ]
15551567script_runner = " bash"
15561568script = [
15571569'''
15581570rm -rf ${BUILDSYS_PACKAGES_DIR}
1559- cargo clean --manifest-path "${BUILDSYS_ROOT_DIR}/Cargo.toml"
1571+ '''
1572+ ]
1573+
1574+ [tasks .clean-kits ]
1575+ script_runner = " bash"
1576+ script = [
1577+ '''
1578+ rm -rf ${BUILDSYS_KITS_DIR}
15601579'''
15611580]
15621581
You can’t perform that action at this time.
0 commit comments