Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add gulp tasks to build deb packages #2949

Merged
merged 1 commit into from
Feb 12, 2016
Merged

Add gulp tasks to build deb packages #2949

merged 1 commit into from
Feb 12, 2016

Conversation

Tyriar
Copy link
Member

@Tyriar Tyriar commented Feb 11, 2016

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


@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 Tyriar added this to the Feb 2016 milestone Feb 11, 2016
@Tyriar Tyriar added the install-update VS Code installation and upgrade system issues label Feb 11, 2016
joaomoreno added a commit that referenced this pull request Feb 12, 2016
Add gulp tasks to build deb packages
@joaomoreno joaomoreno merged commit aec4996 into microsoft:master Feb 12, 2016
@joaomoreno
Copy link
Member

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

@joaomoreno
Copy link
Member

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
Member

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
Member

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
Member

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

@Tyriar 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