Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions Microsoft.jQuery.Unobtrusive.Validation.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<package
xmlns="http://schemas.microsoft.com/packaging/2013/05/nuspec.xsd">
<metadata>
<id>Microsoft.jQuery.Unobtrusive.Validation</id>
<version>$version$</version>
<title>Microsoft jQuery Unobtrusive Validation</title>
<authors>Microsoft</authors>
<owners>Microsoft,aspnet</owners>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<licenseUrl>https://www.microsoft.com/web/webpi/eula/net_library_eula_ENU.htm</licenseUrl>
<projectUrl>https://www.asp.net/</projectUrl>
<iconUrl>https://go.microsoft.com/fwlink/?LinkID=288859</iconUrl>
<description>jQuery plugin that unobtrusively sets up jQuery.Validation.</description>
<summary>The jQuery Unobtrusive Validation library complements jQuery Validation by adding support for specifying validation options as HTML5 data-* elements</summary>
<releaseNotes>Please visit https://go.microsoft.com/fwlink/?LinkId=389866 to view the release notes.</releaseNotes>
<copyright>© Microsoft Corporation. All rights reserved.</copyright>
<tags>jQuery Unobtrusive</tags>
<dependencies>
<dependency id="jQuery" version="1.8.0" />
<dependency id="jQuery.Validation" version="1.8.0.1" />
</dependencies>
</metadata>
<files>
<file src="dist\jquery.validate.unobtrusive.js" target="Content\Scripts"/>
<file src="dist\jquery.validate.unobtrusive.min.js" target="Content\Scripts"/>
</files>
</package>
2 changes: 2 additions & 0 deletions build.cmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
@ECHO OFF
PowerShell -NoProfile -NoLogo -ExecutionPolicy unrestricted -Command "[System.Threading.Thread]::CurrentThread.CurrentCulture = ''; [System.Threading.Thread]::CurrentThread.CurrentUICulture = '';& '%~dp0run.ps1' %*; exit $LASTEXITCODE"
16 changes: 16 additions & 0 deletions build.msbuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<Project>
<ItemGroup>
<VersionFile Include="version.props"/>
</ItemGroup>
<PropertyGroup>
<NuspecPath>Microsoft.jQuery.Unobtrusive.Validation.nuspec</NuspecPath>
</PropertyGroup>
<Target Name="Build">
<ReadLinesFromFile File="@(VersionFile)">
<Output TaskParameter="Lines" PropertyName="PackageVersion"/>
</ReadLinesFromFile>
<Exec Command="npm version --no-git-tag-version --allow-same-version $(PackageVersion)" />
<Exec Command="gulp" />
<Exec Command="nuget pack $(NuspecPath) -Version $(PackageVersion)" />
</Target>
</Project>
1 change: 1 addition & 0 deletions run.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
msbuild .\build.msbuild
1 change: 1 addition & 0 deletions version.props
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.2.7