mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-30 05:21:08 +01: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:
committed by
João Moreno
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 = [
|
||||
|
||||
Reference in New Issue
Block a user