This repository has been archived on 2023-12-22. You can view files and clone it, but cannot push or open issues or pull requests.
old-monorepo/_Dashboard/tasks/distribution.js

30 lines
636 B
JavaScript

const builder = require('electron-builder');
function packWin() {
return builder.build({
targets: builder.Platform.WINDOWS.createTarget(),
publish: 'never',
});
}
function packMac() {
return builder.build({
targets: builder.Platform.MAC.createTarget(),
publish: 'never',
});
}
function packLinux() {
return builder.build({
targets: builder.Platform.LINUX.createTarget(),
publish: 'never',
});
}
packWin.displayName = 'builder-win';
packMac.displayName = 'builder-mac';
packLinux.displayName = 'builder-linux';
exports.packWin = packWin;
exports.packMac = packMac;
exports.packLinux = packLinux;