Use common as submodule (#21)
* Use AutoRest as a Submodule instead of NuGet Package * updated readme
This commit is contained in:
Родитель
10cee798e5
Коммит
1b5a10552e
|
@ -0,0 +1,3 @@
|
|||
[submodule "autorest.common"]
|
||||
path = autorest.common
|
||||
url = https://github.com/azure/autorest.common
|
|
@ -20,7 +20,10 @@ task 'init', "" ,(done)->
|
|||
Fail "YOU MUST HAVE NODEJS VERSION GREATER THAN 7.10.0" if semver.lt( process.versions.node , "7.10.0" )
|
||||
done()
|
||||
|
||||
|
||||
task 'install_common',"", (done) ->
|
||||
# global.verbose = true
|
||||
execute "npm install",{cwd:"#{basefolder}/autorest.common", silent:false }, done
|
||||
|
||||
|
||||
# Run language-specific tests:
|
||||
task 'test', "more", [], (done) ->
|
||||
|
|
|
@ -13,6 +13,12 @@ This project has adopted the [Microsoft Open Source Code of Conduct](https://ope
|
|||
For more information see the [Code of Conduct FAQ](https://opensource.microsoft.com/codeofconduct/faq/) or
|
||||
contact [opencode@microsoft.com](mailto:opencode@microsoft.com) with any additional questions or comments.
|
||||
|
||||
# IMPORTANT NOTE
|
||||
|
||||
This project uses a git submodule for dependent code. When cloning this repository use `git clone --recursive ...` or perform a `git submodule init ` after the project is cloned.
|
||||
|
||||
|
||||
|
||||
# AutoRest extension configuration
|
||||
|
||||
``` yaml
|
||||
|
|
|
@ -4,6 +4,8 @@ VisualStudioVersion = 15.0.26430.16
|
|||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "autorest.azureresourceschema", "src\autorest.azureresourceschema.csproj", "{9E857E16-C008-4202-8799-1119D29330B6}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "autorest.common", "autorest.common\src\autorest.common.csproj", "{9E857E16-1000-2000-3000-CFA9D292D0B6}"
|
||||
EndProject
|
||||
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "autorest.azureresourceschema.test", "test\autorest.azureresourceschema.test.csproj", "{98180E61-2D1D-1489-90A2-7B675F82E9D8}"
|
||||
EndProject
|
||||
Global
|
||||
|
@ -16,6 +18,18 @@ Global
|
|||
Release|x86 = Release|x86
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{9E857E16-1000-2000-3000-CFA9D292D0B6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9E857E16-1000-2000-3000-CFA9D292D0B6}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9E857E16-1000-2000-3000-CFA9D292D0B6}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
{9E857E16-1000-2000-3000-CFA9D292D0B6}.Debug|x64.Build.0 = Debug|Any CPU
|
||||
{9E857E16-1000-2000-3000-CFA9D292D0B6}.Debug|x86.ActiveCfg = Debug|Any CPU
|
||||
{9E857E16-1000-2000-3000-CFA9D292D0B6}.Debug|x86.Build.0 = Debug|Any CPU
|
||||
{9E857E16-1000-2000-3000-CFA9D292D0B6}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{9E857E16-1000-2000-3000-CFA9D292D0B6}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
{9E857E16-1000-2000-3000-CFA9D292D0B6}.Release|x64.ActiveCfg = Release|Any CPU
|
||||
{9E857E16-1000-2000-3000-CFA9D292D0B6}.Release|x64.Build.0 = Release|Any CPU
|
||||
{9E857E16-1000-2000-3000-CFA9D292D0B6}.Release|x86.ActiveCfg = Release|Any CPU
|
||||
{9E857E16-1000-2000-3000-CFA9D292D0B6}.Release|x86.Build.0 = Release|Any CPU
|
||||
{9E857E16-C008-4202-8799-1119D29330B6}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{9E857E16-C008-4202-8799-1119D29330B6}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{9E857E16-C008-4202-8799-1119D29330B6}.Debug|x64.ActiveCfg = Debug|Any CPU
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
Subproject commit 57af19c60eb2ed5221623ea43709c9e7acd94fa0
|
|
@ -8,7 +8,7 @@
|
|||
"test": "gulp test",
|
||||
"testci": "gulp testci",
|
||||
"build": "gulp build",
|
||||
"prepare": "gulp build",
|
||||
"prepare": "gulp install_common && gulp build",
|
||||
"publish-preview": "gulp publish-preview",
|
||||
"regenerate": "gulp regenerate",
|
||||
"clean": "gulp clean",
|
||||
|
@ -52,4 +52,4 @@
|
|||
"dependencies": {
|
||||
"dotnet-2.0.0": "^1.4.4"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -54,8 +54,8 @@
|
|||
<ItemGroup>
|
||||
<PackageReference Include="Newtonsoft.Json" Version="10.0.3" />
|
||||
<PackageReference Include="YamlDotNet.Signed" Version="4.2.1" />
|
||||
<PackageReference Include="Microsoft.AutoRest.Common" Version="2.4.44" />
|
||||
<!-- <ProjectReference Include="../../autorest.common/src/autorest.common.csproj" /> -->
|
||||
<!-- <PackageReference Include="Microsoft.AutoRest.Common" Version="2.4.44" /> -->
|
||||
<ProjectReference Include="../autorest.common/src/autorest.common.csproj" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
|
|
Загрузка…
Ссылка в новой задаче