mirror of
https://github.com/VSCodium/vscodium.git
synced 2026-04-18 05:34:41 +10:00
Compare commits
16 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
cf4adbf6f8 | ||
|
|
b8a1f7c979 | ||
|
|
34953d11f3 | ||
|
|
ab7d14add8 | ||
|
|
4fe1ea6727 | ||
|
|
a61e56c152 | ||
|
|
a02839b466 | ||
|
|
890377a893 | ||
|
|
e95b3f0732 | ||
|
|
c38cc161c0 | ||
|
|
4cf7166a48 | ||
|
|
f5bb3f6007 | ||
|
|
8096387e74 | ||
|
|
7b764d5c5b | ||
|
|
31ad142664 | ||
|
|
a4ea6d60a4 |
@@ -5,9 +5,9 @@ matrix:
|
|||||||
- os: linux
|
- os: linux
|
||||||
sudo: required
|
sudo: required
|
||||||
env: BUILDARCH=ia32
|
env: BUILDARCH=ia32
|
||||||
# - os: linux
|
- os: linux
|
||||||
# sudo: required
|
sudo: required
|
||||||
# env: BUILDARCH=arm64
|
env: BUILDARCH=arm64
|
||||||
- os: osx
|
- os: osx
|
||||||
|
|
||||||
language: node_js
|
language: node_js
|
||||||
@@ -16,7 +16,7 @@ node_js: "8"
|
|||||||
before_install:
|
before_install:
|
||||||
- curl -o- -L https://yarnpkg.com/install.sh | bash
|
- curl -o- -L https://yarnpkg.com/install.sh | bash
|
||||||
- export PATH="$HOME/.yarn/bin:$PATH"
|
- export PATH="$HOME/.yarn/bin:$PATH"
|
||||||
- ./install_deps.sh
|
- . install_deps.sh
|
||||||
- . get_repo.sh
|
- . get_repo.sh
|
||||||
- . check_tags.sh
|
- . check_tags.sh
|
||||||
|
|
||||||
|
|||||||
7
DOCS.md
7
DOCS.md
@@ -28,6 +28,13 @@ _(For example the C# extension `ms-vscode.csharp` sends tracking data to Microso
|
|||||||
## <a id="extensions-marketplace"></a>Extensions + Marketplace
|
## <a id="extensions-marketplace"></a>Extensions + Marketplace
|
||||||
Until something more open comes around, we use the Microsoft Marketplace/Extensions in the `product.json` file. Those links are licensed under MIT as per [the comments on this issue.](https://github.com/Microsoft/vscode/issues/31168#issuecomment-317319063)
|
Until something more open comes around, we use the Microsoft Marketplace/Extensions in the `product.json` file. Those links are licensed under MIT as per [the comments on this issue.](https://github.com/Microsoft/vscode/issues/31168#issuecomment-317319063)
|
||||||
|
|
||||||
|
If you use the [code-settings-sync](https://github.com/shanalikhan/code-settings-sync) extension, you may have [an issue](https://github.com/VSCodium/vscodium/issues/72) installing extensions (via the plugin). Refer to [this workaround](https://github.com/shanalikhan/code-settings-sync/issues/668#issuecomment-462065341) to get it working properly.
|
||||||
|
|
||||||
|
### Proprietary Debugging Tools
|
||||||
|
The debugger provided with Microsoft's [C# extension](https://github.com/OmniSharp/omnisharp-vscode) as well as the (Windows) debugger provided with their [C++ extension](https://github.com/Microsoft/vscode-cpptools) are very restrictively licensed to only work with the offical Visual Studio Code build. See [this comment in the C# extension repo](https://github.com/OmniSharp/omnisharp-vscode/issues/2491#issuecomment-418811364) and [this comment in the C++ extension repo](https://github.com/Microsoft/vscode-cpptools/issues/21#issuecomment-248349017).
|
||||||
|
|
||||||
|
A workaround exists to get debugging working in C# projects, by using Samsung's opensource [netcoredbg](https://github.com/Samsung/netcoredbg) package. See [this comment](https://github.com/VSCodium/vscodium/issues/82#issue-409806641) for instructions on how to set that up.
|
||||||
|
|
||||||
## <a id="migrating"></a>Migrating from Visual Studio Code to VSCodium
|
## <a id="migrating"></a>Migrating from Visual Studio Code to VSCodium
|
||||||
VSCodium (and a freshly cloned copy of vscode built from source) stores its extension files in `~/.vscode-oss`. So if you currently have Visual Studio Code installed, your extensions won't automatically populate. You can reinstall your extensions from the Marketplace in VSCodium, or copy the `extensions` from `~/.vscode/extensions` to `~/.vscode-oss/extensions`.
|
VSCodium (and a freshly cloned copy of vscode built from source) stores its extension files in `~/.vscode-oss`. So if you currently have Visual Studio Code installed, your extensions won't automatically populate. You can reinstall your extensions from the Marketplace in VSCodium, or copy the `extensions` from `~/.vscode/extensions` to `~/.vscode-oss/extensions`.
|
||||||
|
|
||||||
|
|||||||
@@ -20,6 +20,7 @@
|
|||||||
- [Install with Brew](#install-with-brew)
|
- [Install with Brew](#install-with-brew)
|
||||||
- [Install with Chocolatey](#install-with-choco)
|
- [Install with Chocolatey](#install-with-choco)
|
||||||
- [Install with Package Manager](#install-with-package-manager)
|
- [Install with Package Manager](#install-with-package-manager)
|
||||||
|
- [Flatpak Option](#flatpak)
|
||||||
- [Why Does This Exist](#why)
|
- [Why Does This Exist](#why)
|
||||||
- [More Info](#more-info)
|
- [More Info](#more-info)
|
||||||
- [Supported OS](#supported-os)
|
- [Supported OS](#supported-os)
|
||||||
@@ -44,6 +45,9 @@ choco install vscodium
|
|||||||
#### <a id="install-with-package-manager"></a>Install with Package Manager (Linux)
|
#### <a id="install-with-package-manager"></a>Install with Package Manager (Linux)
|
||||||
You can always install using the downloads (deb, rpm, tar) on the [releases page](https://github.com/VSCodium/vscodium/releases), but you can also install using your favorite package manager and get automatic updates. [@paulcarroty](https://github.com/paulcarroty) has set up a repository with instructions [here](https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo). Any issues installing VSCodium using your package manager should be directed to that repository's issue tracker.
|
You can always install using the downloads (deb, rpm, tar) on the [releases page](https://github.com/VSCodium/vscodium/releases), but you can also install using your favorite package manager and get automatic updates. [@paulcarroty](https://github.com/paulcarroty) has set up a repository with instructions [here](https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo). Any issues installing VSCodium using your package manager should be directed to that repository's issue tracker.
|
||||||
|
|
||||||
|
#### <a id="flatpak"></a>Flatpak Option (Linux)
|
||||||
|
VSCodium is not available as a Flatpak app, but [@amtlib-dot-dll](https://github.com/amtlib-dot-dll) has done significant work to package up the open source build of Visual Studio Code without telemetry, very similarly to VSCodium. That package is available [here](https://flathub.org/apps/details/com.visualstudio.code.oss) and the build repo is [here](https://github.com/flathub/com.visualstudio.code.oss).
|
||||||
|
|
||||||
## <a id="why"></a>Why Does This Exist
|
## <a id="why"></a>Why Does This Exist
|
||||||
This repository contains a build file to generate FLOSS release binaries of Microsoft's VSCode.
|
This repository contains a build file to generate FLOSS release binaries of Microsoft's VSCode.
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,9 @@ pool:
|
|||||||
vmImage: 'vs2017-win2016'
|
vmImage: 'vs2017-win2016'
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
- task: NodeTool@0
|
||||||
|
inputs:
|
||||||
|
versionSpec: '8.x'
|
||||||
- script: |
|
- script: |
|
||||||
choco install jq
|
choco install jq
|
||||||
displayName: 'install jq from choco'
|
displayName: 'install jq from choco'
|
||||||
|
|||||||
18
build.sh
18
build.sh
@@ -5,6 +5,12 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then
|
|||||||
|
|
||||||
if [[ "$BUILDARCH" == "ia32" ]]; then
|
if [[ "$BUILDARCH" == "ia32" ]]; then
|
||||||
export npm_config_arch=ia32
|
export npm_config_arch=ia32
|
||||||
|
export npm_config_target_arch=ia32
|
||||||
|
fi
|
||||||
|
|
||||||
|
if [[ "$BUILDARCH" == "arm64" ]]; then
|
||||||
|
export npm_config_arch=arm64
|
||||||
|
export npm_config_target_arch=arm64
|
||||||
fi
|
fi
|
||||||
../update_settings.sh
|
../update_settings.sh
|
||||||
|
|
||||||
@@ -36,12 +42,12 @@ if [[ "$SHOULD_BUILD" == "yes" ]]; then
|
|||||||
npm run gulp vscode-linux-arm64-build-deb
|
npm run gulp vscode-linux-arm64-build-deb
|
||||||
# npm run gulp vscode-linux-arm64-build-rpm
|
# npm run gulp vscode-linux-arm64-build-rpm
|
||||||
elif [[ "$CI_WINDOWS" == "True" ]]; then
|
elif [[ "$CI_WINDOWS" == "True" ]]; then
|
||||||
npx gulp vscode-win32-x64-min
|
npm run gulp vscode-win32-x64-min
|
||||||
npx gulp vscode-win32-x64-copy-inno-updater
|
npm run gulp vscode-win32-x64-copy-inno-updater
|
||||||
npx gulp vscode-win32-x64-inno-updater
|
npm run gulp vscode-win32-x64-inno-updater
|
||||||
npx gulp vscode-win32-x64-system-setup
|
npm run gulp vscode-win32-x64-system-setup
|
||||||
npx gulp vscode-win32-x64-user-setup
|
npm run gulp vscode-win32-x64-user-setup
|
||||||
npx gulp vscode-win32-x64-archive
|
npm run gulp vscode-win32-x64-archive
|
||||||
else
|
else
|
||||||
npm run gulp vscode-linux-x64-min
|
npm run gulp vscode-linux-x64-min
|
||||||
npm run gulp vscode-linux-x64-build-deb
|
npm run gulp vscode-linux-x64-build-deb
|
||||||
|
|||||||
@@ -5,16 +5,33 @@ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
|
|||||||
brew install jq zip
|
brew install jq zip
|
||||||
else
|
else
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install libx11-dev libxkbfile-dev libsecret-1-dev fakeroot rpm jq
|
sudo apt-get install -y fakeroot rpm jq
|
||||||
if [[ "$BUILDARCH" == "ia32" ]]; then
|
if [[ "$BUILDARCH" == "ia32" ]]; then
|
||||||
sudo dpkg --add-architecture i386
|
sudo dpkg --add-architecture i386
|
||||||
sudo apt-get update
|
sudo apt-get update
|
||||||
sudo apt-get install libc6-dev-i386 gcc-multilib g++-multilib
|
sudo apt-get install -y gcc-multilib g++-multilib
|
||||||
sudo apt-get install libx11-dev:i386 libxkbfile-dev:i386
|
sudo apt-get install -y \
|
||||||
|
libgirepository-1.0-1:i386 \
|
||||||
|
gir1.2-glib-2.0:i386 \
|
||||||
|
libglib2.0-dev:i386 \
|
||||||
|
gir1.2-secret-1:i386 \
|
||||||
|
libx11-dev:i386 \
|
||||||
|
libxkbfile-dev:i386 \
|
||||||
|
libsecret-1-dev:i386
|
||||||
|
export CFLAGS=-m32
|
||||||
|
export CXXFLAGS=-m32
|
||||||
|
export PKG_CONFIG_PATH=/usr/lib/i386-linux-gnu/pkgconfig
|
||||||
elif [[ $BUILDARCH == "arm64" ]]; then
|
elif [[ $BUILDARCH == "arm64" ]]; then
|
||||||
# Use the default C / C++ compilers,
|
echo "deb http://ports.ubuntu.com/ubuntu-ports/ trusty main" | sudo tee -a /etc/apt/sources.list.d/arm64.list >/dev/null
|
||||||
# because some makefiles default to CC:=gcc:
|
sudo dpkg --add-architecture arm64
|
||||||
export CC=/usr/bin/cc
|
sudo apt-get update
|
||||||
export CXX=/usr/bin/c++
|
sudo apt-get install libc6-dev-arm64-cross gcc-aarch64-linux-gnu g++-aarch64-linux-gnu
|
||||||
|
sudo apt-get install libx11-dev:arm64 libxkbfile-dev:arm64
|
||||||
|
export CC=/usr/bin/aarch64-linux-gnu-gcc
|
||||||
|
export CXX=/usr/bin/aarch64-linux-gnu-g++
|
||||||
|
export CC_host=/usr/bin/gcc
|
||||||
|
export CXX_host=/usr/bin/g++
|
||||||
|
else
|
||||||
|
sudo apt-get install libx11-dev libxkbfile-dev libsecret-1-dev fakeroot rpm jq
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user