Add NuGet.config, packages.config, and restore-packages script
This commit is contained in:
Родитель
a6a25890d1
Коммит
f9e4bb8ec7
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<configuration>
|
||||
<config>
|
||||
<!-- directory where the nuget packages in this repository will be installed -->
|
||||
<add key="repositoryPath" value="packages" />
|
||||
</config>
|
||||
<packageRestore>
|
||||
<add key="enabled" value="true" />
|
||||
<add key="automatic" value="true" />
|
||||
</packageRestore>
|
||||
<packageSources>
|
||||
<add key="Nuget" value="https://api.nuget.org/v3/index.json" />
|
||||
</packageSources>
|
||||
</configuration>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<packages>
|
||||
<!-- When this is updated, we want to update package version in README and the projects that reference this package.-->
|
||||
<package id="Microsoft.googletest.v140.windesktop.msvcstl.dyn.rt-dyn" version="1.8.1.3" targetFramework="native" />
|
||||
<package id="CMake-win64" version="3.15.5"/>
|
||||
</packages>
|
|
@ -0,0 +1,2 @@
|
|||
SET EnlRoot=%~dp0
|
||||
nuget restore %EnlRoot%packages.config -PackagesDirectory %EnlRoot%packages
|
|
@ -0,0 +1,15 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Install unixodbc-dev for development headers
|
||||
#
|
||||
apt-get -q -y install unixodbc-dev
|
||||
|
||||
apt-get update -y
|
||||
apt-get install build-essential software-properties-common -y
|
||||
add-apt-repository ppa:ubuntu-toolchain-r/test -y
|
||||
apt-get update -y
|
||||
apt-get install gcc-7 g++-7 -y
|
||||
update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 70 --slave /usr/bin/g++ g++ /usr/bin/g++-7
|
||||
|
||||
exit $?
|
||||
|
Загрузка…
Ссылка в новой задаче