third_party.pigweed.src/activate.bat
Alexei Frolov 4dcf99d274 env_setup: Split activate and bootstrap on Windows
This change creates a top level bootstrap and activate script on Windows
to mirror the Linux setup.

Change-Id: I6d06ea2112b68deceb0d6d2011c3c80699a7e77f
2020-03-11 16:32:26 +00:00

24 lines
931 B
Batchfile

@echo off
:: Copyright 2020 The Pigweed Authors
::
:: Licensed under the Apache License, Version 2.0 (the "License"); you may not
:: use this file except in compliance with the License. You may obtain a copy of
:: the License at
::
:: https://www.apache.org/licenses/LICENSE-2.0
::
:: Unless required by applicable law or agreed to in writing, software
:: distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
:: WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
:: License for the specific language governing permissions and limitations under
:: the License.
:: Activates a Pigweed development environment by setting the appropriate
:: environment variables. bootstrap.bat must be run initially to install all
:: required programs; after that, activate.bat can be used to enter the
:: environment in a shell.
set PW_SKIP_BOOTSTRAP=1
call %~dp0\bootstrap.bat
set PW_SKIP_BOOTSTRAP=