mirror of
https://github.com/Microsoft/vscode
synced 2024-08-27 04:49:35 +00:00
buildSnapPackage: use the default snapcraft target (#80217)
Use the default snap target for snapcraft to create the snap (build is an intermediate lifecycle step). Signed-off-by: Sergio Schvezov <sergio.schvezov@canonical.com>
This commit is contained in:
parent
e4a4635075
commit
51334d5bd9
|
@ -238,7 +238,8 @@ function prepareSnapPackage(arch) {
|
|||
|
||||
function buildSnapPackage(arch) {
|
||||
const snapBuildPath = getSnapBuildPath(arch);
|
||||
return shell.task(`cd ${snapBuildPath} && snapcraft build`);
|
||||
// Default target for snapcraft runs: pull, build, stage and prime, and finally assembles the snap.
|
||||
return shell.task(`cd ${snapBuildPath} && snapcraft`);
|
||||
}
|
||||
|
||||
const BUILD_TARGETS = [
|
||||
|
|
Loading…
Reference in a new issue