Skip to content

Commit

Permalink
updating version control and style config
Browse files Browse the repository at this point in the history
  • Loading branch information
Highlander Paiva committed May 9, 2019
1 parent 7016315 commit 6c2b2a5
Show file tree
Hide file tree
Showing 4 changed files with 44 additions and 5 deletions.
2 changes: 1 addition & 1 deletion AspDotnetVueJs.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<packageTypes>
<packageType name="Template" />
</packageTypes>
<version>2.1.0</version>
<version>{{version}}</version>
<!--<iconUrl></iconUrl>-->
<projectUrl>https://github.com/hvpaiva/aspdotnet-vuejs</projectUrl>
<licenseUrl>https://github.com/hvpaiva/aspdotnet-vuejs/blob/master/LICENSE</licenseUrl>
Expand Down
40 changes: 39 additions & 1 deletion CodeStyle.xml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
<code_scheme name="Default" version="173">
<code_scheme name="AspDotnetVueJsStyle" version="173">
<HTMLCodeStyleSettings>
<option name="HTML_DO_NOT_INDENT_CHILDREN_OF" value="html,thead,tbody,tfoot,script" />
</HTMLCodeStyleSettings>
<JSCodeStyleSettings version="0">
<option name="USE_DOUBLE_QUOTES" value="false" />
<option name="FORCE_QUOTE_STYlE" value="true" />
Expand Down Expand Up @@ -32,19 +35,54 @@
</indentOptions>
</codeStyleSettings>
<codeStyleSettings language="JavaScript">
<option name="RIGHT_MARGIN" value="100" />
<option name="ALIGN_MULTILINE_PARAMETERS_IN_CALLS" value="true" />
<option name="ALIGN_MULTILINE_BINARY_OPERATION" value="true" />
<option name="ALIGN_MULTILINE_EXTENDS_LIST" value="true" />
<option name="EXTENDS_LIST_WRAP" value="5" />
<option name="EXTENDS_KEYWORD_WRAP" value="1" />
<option name="METHOD_CALL_CHAIN_WRAP" value="5" />
<option name="BINARY_OPERATION_WRAP" value="1" />
<option name="TERNARY_OPERATION_WRAP" value="5" />
<option name="TERNARY_OPERATION_SIGNS_ON_NEXT_LINE" value="true" />
<option name="ARRAY_INITIALIZER_WRAP" value="5" />
<option name="ARRAY_INITIALIZER_LBRACE_ON_NEXT_LINE" value="true" />
<option name="ARRAY_INITIALIZER_RBRACE_ON_NEXT_LINE" value="true" />
<option name="WRAP_COMMENTS" value="true" />
<option name="IF_BRACE_FORCE" value="1" />
<indentOptions>
<option name="USE_TAB_CHARACTER" value="true" />
<option name="SMART_TABS" value="true" />
</indentOptions>
<arrangement>
<groups>
<group>
<type>GROUP_PROPERTY_FIELD_WITH_GETTER_SETTER</type>
<order>KEEP</order>
</group>
<group>
<type>TREAT_LAMBDA_INITIALIZED_FIELDS_AS_METHODS</type>
<order>KEEP</order>
</group>
<group>
<type>OVERRIDDEN_METHODS</type>
<order>KEEP</order>
</group>
</groups>
</arrangement>
</codeStyleSettings>
<codeStyleSettings language="SASS">
<indentOptions>
<option name="INDENT_SIZE" value="4" />
<option name="USE_TAB_CHARACTER" value="true" />
<option name="SMART_TABS" value="true" />
</indentOptions>
</codeStyleSettings>
<codeStyleSettings language="SCSS">
<indentOptions>
<option name="INDENT_SIZE" value="4" />
<option name="USE_TAB_CHARACTER" value="true" />
<option name="SMART_TABS" value="true" />
</indentOptions>
</codeStyleSettings>
<codeStyleSettings language="TypeScript">
Expand Down
5 changes: 3 additions & 2 deletions appveyor.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
image: Visual Studio 2017

version: 2.0.{build}
version: 3.0.{build}

install:
# - ps: (new-object Net.WebClient).DownloadString("https://raw.github.com/madskristensen/ExtensionScripts/master/AppVeyor/vsix.ps1") | iex

before_build:
- ps: write-host Build v. $env:appveyor_build_version
- ps: write-host Build v. $env:appveyor_build_version
- nuget restore
# - ps: Vsix-IncrementVsixVersion | Vsix-UpdateBuildVersion

Expand All @@ -21,6 +21,7 @@ dotnet_csproj:

build_script:
- msbuild /p:configuration=Release /p:DeployExtension=false /p:ZipPackageCompressionLevel=normal /v:m
- ps: (Get-Content appsettings.json).replace('{{version}}', $env:appveyor_build_version ) | Set-Content appsettings.json
- ps: (Get-Content AspDotnetVueJs.nuspec).replace('{{version}}', $env:appveyor_build_version ) | Set-Content AspDotnetVueJs.nuspec
- nuget pack
#Nuget auto-packaging can also be done cref: https://www.appveyor.com/docs/deployment/nuget/
Expand Down
2 changes: 1 addition & 1 deletion content/appsettings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"App": {
"Title": "ASP.NET VueJs | Template",
"Description": "Template com .NET Core e VueJs",
"Version": "3.0.0",
"Version": "{{version}}",
"TermsOfService": "MIT"
},
"ApiUrl": "http://localhost:5000",
Expand Down

0 comments on commit 6c2b2a5

Please sign in to comment.