Skip to content

Commit 145bd41

Browse files
authored
Merge pull request #3 from VisualOn/dev
Prepare release 1.0.0
2 parents 39f96ee + b8be47e commit 145bd41

File tree

7 files changed

+42
-8
lines changed

7 files changed

+42
-8
lines changed

appveyor.yml renamed to .appveyor.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,13 @@ pull_requests:
44
branches:
55
only:
66
- master
7+
- dev
78
skip_tags: true
89
max_jobs: 1
910
skip_commits:
1011
files:
1112
- README.md
13+
- CHANGELOG.md
1214
- .editorconfig
1315
- .gitignore
1416

CHANGELOG.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
5+
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6+
7+
## [Unreleased]
8+
9+
## 1.0.0 - 2019-01-16
10+
### Added
11+
- First release as signed fork of [Dan Roberts](https://bitbucket.org/DanRoberts/cssparser) 2017-06-08.
12+
- Source link support.
13+
- Changelog
14+
- AppVeyor CI
15+
16+
### Changed
17+
- Refactored project files.
18+
19+
20+
[Unreleased]: https://github.com/visualon/NCrontab-Advanced/compare/v1.0.0...HEAD

CSSParser.ExtendedLESSParser/CSSParser.ExtendedLESSParser.csproj

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<Project Sdk="Microsoft.NET.Sdk">
33

44
<PropertyGroup>
@@ -13,7 +13,8 @@
1313
</PropertyGroup>
1414

1515
<ItemGroup>
16-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta-63127-02" PrivateAssets="All" />
16+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-18618-05" PrivateAssets="All" />
17+
<PackageReference Include="MinVer" Version="1.0.0-beta.4" PrivateAssets="All" />
1718
<ProjectReference Include="..\CssParser\CssParser.csproj" />
1819
</ItemGroup>
1920
</Project>

CSSParser.sln

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Files", "Solution
1717
ProjectSection(SolutionItems) = preProject
1818
.editorconfig = .editorconfig
1919
.gitignore = .gitignore
20+
CHANGELOG.md = CHANGELOG.md
2021
Directory.Build.props = Directory.Build.props
2122
LICENSE.txt = LICENSE.txt
2223
README.md = README.md

CSSParser/CSSParser.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
</PropertyGroup>
1414

1515
<ItemGroup>
16-
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta-63127-02" PrivateAssets="All" />
16+
<PackageReference Include="Microsoft.SourceLink.GitHub" Version="1.0.0-beta2-18618-05" PrivateAssets="All" />
17+
<PackageReference Include="MinVer" Version="1.0.0-beta.4" PrivateAssets="All" />
1718
</ItemGroup>
1819
</Project>

Directory.Build.props

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,9 @@
11
<Project>
22
<PropertyGroup>
3-
<VersionPrefix Condition="'$(VersionPrefix)' == ''">1.0.0</VersionPrefix>
4-
<Version Condition="'$(APPVEYOR_BUILD_VERSION)' != ''">$(APPVEYOR_BUILD_VERSION)</Version>
5-
<AssemblyVersion>1.0.0.0</AssemblyVersion>
3+
<MinVerMinimumMajorMinor>1.0</MinVerMinimumMajorMinor>
64

75
<Authors>ProductiveRage; VisualOn GmbH</Authors>
8-
<Copyright>Copyright © VisualOn GmbH 2018</Copyright>
6+
<Copyright>Copyright © VisualOn GmbH 2019</Copyright>
97

108
<PackageIconUrl>https://visualon.github.io/img/nuget.png</PackageIconUrl>
119
<PackageProjectUrl>https://github.com/VisualOn/cssparser</PackageProjectUrl>

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,18 @@
1-
# CSS Parser [![AppVeyor build status](https://ci.appveyor.com/api/projects/status/github/visualon/cssparser?branch=master&svg=true)](https://ci.appveyor.com/project/ViceIce/cssparser/branch/master)
1+
# CSS Parser [![Build status](https://ci.appveyor.com/api/projects/status/vuiq6y07u4xihtbc?svg=true)](https://ci.appveyor.com/project/ViceIce/cssparser)
22

33
This is a fork from [Dan Roberts](https://bitbucket.org/DanRoberts/cssparser).
44

5+
A simple CSS and LESS parser to categorise strings of content and optionally generate a hierarchical representation of it.
6+
7+
## Changes
8+
See [Changelog](CHANGELOG.md)
9+
10+
## License
11+
[MIT License](LICENSE)
12+
13+
14+
### Howto
15+
516
This was written to fulfill a need I had to run quickly through a string of CSS and identify what "type" each character was. With an optional ability to parse it into hierarchical data describing nested selectors and/or media queries (most applicable to LESS rather than vanilla CSS since LESS supports nesting of selectors whereas CSS only supports single nesting of a selector within a media query).
617

718
IEnumerable<CategorisedCharacterString> ParseCSS(string content)

0 commit comments

Comments
 (0)