Skip to content

Add gulp tasks to build deb packages - #2949

Merged
João Moreno (joaomoreno) merged 1 commit into
microsoft:masterfrom
Tyriar:2679_deb_package
Feb 12, 2016
Merged

João Moreno (joaomoreno) merged 1 commit into
microsoft:masterfrom
Tyriar:2679_deb_package

Conversation

@Tyriar

Copy link
Copy Markdown
Contributor

Build, install and run:

gulp vscode-linux-packages
sudo dpkg -i out-linux/vscode-amd64.deb
code .

Installing the package does the following:

  • Puts VSCode dir at /usr/share/code
  • Puts code.sh launcher in /usr/bin
  • Defines a .desktop file to properly integrate with the launcher

Fixes #2679


João Moreno (@joaomoreno) let me know if you spot any issues

Build, install and run:
gulp vscode-linux-packages
sudo dpkg -i out-linux/vscode-amd64.deb
code .

Installing the package does the following:
- Puts VSCode dir at /usr/share/code
- Puts code.sh launcher in /usr/bin
- Defines a .desktop file to properly integrate with the launcher

Fixes #2679
@Tyriar Daniel Imms (Tyriar) added this to the Feb 2016 milestone Feb 11, 2016
@Tyriar Daniel Imms (Tyriar) added the install-update VS Code installation and upgrade system issues label Feb 11, 2016
João Moreno (joaomoreno) added a commit that referenced this pull request Feb 12, 2016
Add gulp tasks to build deb packages
@joaomoreno
João Moreno (joaomoreno) merged commit aec4996 into microsoft:master Feb 12, 2016
@joaomoreno

Copy link
Copy Markdown
Contributor

Looks great, I've merged it so I can contribute on top of it.

@joaomoreno

Copy link
Copy Markdown
Contributor

I've changed how the size of the deb package is counted from going straight to disk to doing it live from the stream: 5d787e0

@joaomoreno

Copy link
Copy Markdown
Contributor

Also moved the out-linux to .build/linux: 9433f3f

This is just where I want to start moving the build stuff, there's no way you would've known that. 👍

@joaomoreno

Copy link
Copy Markdown
Contributor

I've also moved loader.js to src/vs/workbench/electron-main/cli.ts, thus converting it to TypeScript: 8626f24

Also created a src/cli.js which can be used to bootstrap the whole thing from any platform.

@joaomoreno

Copy link
Copy Markdown
Contributor

And (I think finally) made the whole process quality-dependent: 771257c. This will let us install Alpha Insiders and Stable side-by-side.

@Tyriar
Daniel Imms (Tyriar) deleted the 2679_deb_package branch February 19, 2016 23:23
@github-actions github-actions Bot locked and limited conversation to collaborators Mar 27, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

install-update VS Code installation and upgrade system issues

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create .deb package for Debian-based Linux distros

3 participants