Skip to content

Instantly share code, notes, and snippets.

@doudou
Created April 24, 2020 15:30
Show Gist options
  • Save doudou/43994afffae8e1267d8f7c1435019bb5 to your computer and use it in GitHub Desktop.
Save doudou/43994afffae8e1267d8f7c1435019bb5 to your computer and use it in GitHub Desktop.
Shell script to create the bare minimal Autoproj workspace to debug some vscode tasks issues
#! /bin/sh -ex
sudo apt-get install build-essential ruby ruby-dev wget
wget https://rock-robotics.org/autoproj_bootstrap
cat <<SEED > seed-config.yml
ruby_executable: "/usr/bin/ruby2.5"
separate_prefixes: true
osdeps_mode: all
apt_dpkg_update: true
GITHUB_ROOT: https://github.com
GITHUB_PUSH_ROOT: 'git@github.com:'
GITHUB_PRIVATE_ROOT: 'git@github.com:'
ROCK_SELECTED_FLAVOR: master
ROCK_FLAVOR: master
ROCK_BRANCH: master
typelib_cxx_loader: castxml
syskit_use_bundles: true
GITHUB: http,ssh
USE_PYTHON: false
USE_OCL: false
rtt_target: gnulinux
rtt_corba_implementation: omniorb
SEED
AUTOPROJ_BOOTSTRAP_IGNORE_NONEMPTY_DIR=1
ruby autoproj_bootstrap --seed-config=seed-config.yml
cat <<MANIFEST > autoproj/manifest
package_sets:
- github:
rock-core/package_set
layout:
- base/cmake
MANIFEST
.autoproj/bin/aup --all -k
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment