Jon Ross-Perkins 605763d62d Add lint fixes to the buildifier setup. (#3109) 2 лет назад
..
BUILD 605763d62d Add lint fixes to the buildifier setup. (#3109) 2 лет назад
README.md 3c8233016c Add missing bazel run subcommand (#1623) 3 лет назад
carbon.cpp 0b9bda10b7 Refactor common main logic (#2260) 3 лет назад
install.bzl 0948582023 Add install scripts (#1186) 4 лет назад
install.sh 1d3779791d Pass relative link to ln (#1427) 3 лет назад
uninstall.sh 0948582023 Add install scripts (#1186) 4 лет назад

README.md

Local installer

This installs carbon-explorer locally for experimental use on Mac/Linux. It's not recommended for most users. Bear in mind that Carbon Language is experimental and still has no compiler. See our project status for more information.

To install to /usr, run:

bazel run -c opt //installers/local:install

To use a custom install path, run:

bazel run -c opt //installers/local:install \
  --//installers/local:install_path=/my/path

To uninstall, run:

bazel run //installers/local:uninstall

The build mode is important for installs, as debug versions may be installed. It is not relevant for uninstalls.

If a custom install path is passed to :install, the same should be passed to :uninstall.

Note this is just scripting paths: it's not intended to be a full-fledged install.