Skip to content

Commit e249a57

Browse files
omniomiTylerLeonhardt
authored andcommitted
Appveyor (#91)
* add appveyor config * badge * minor tweak * modify ignore list. * include package lock * correct build step * final tweaks to appveyor build * update readme. * typo
1 parent ab8abca commit e249a57

File tree

4 files changed

+49
-3
lines changed

4 files changed

+49
-3
lines changed

.gitignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
11
syntaxes/
2-
tools/node_modules/
3-
tools/package-lock.json
2+
tools/node_modules/

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[![Join the chat at https://gitter.im/PowerShell/EditorSyntax](https://badges.gitter.im/PowerShell/EditorSyntax.svg)](https://gitter.im/PowerShell/EditorSyntax?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
1+
[![Build status](https://ci.appveyor.com/api/projects/status/github/powershell/editorsyntax?branch=master&svg=true)](https://ci.appveyor.com/project/powershell/editorsyntax/branch/master) [![Join the chat at https://gitter.im/PowerShell/EditorSyntax](https://badges.gitter.im/PowerShell/EditorSyntax.svg)](https://gitter.im/PowerShell/EditorSyntax?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
22

33
# PowerShell Syntax Definition for Editors
44

@@ -24,6 +24,8 @@ for more details.
2424

2525
## Build and Import (VS Code)
2626

27+
> ***NOTE:*** You can grab a build of the current definitions as they exist in Github from [Appveyor](https://ci.appveyor.com/project/powershell/editorsyntax/branch/master/artifacts) and skip ahead to step 3 below.
28+
2729
### Prerequisites
2830

2931
- Node.JS, >= 8.9.1

appveyor.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
version: 1.0.{build}
2+
image: Visual Studio 2017
3+
skip_tags: true
4+
5+
branches:
6+
only:
7+
- master
8+
- development
9+
- appveyor
10+
11+
pull_requests:
12+
do_not_increment_build_number: true
13+
14+
skip_commits:
15+
message: /skip\-build/
16+
files:
17+
- .vscode/
18+
- README.md
19+
- .gitattributes
20+
- .gitignore
21+
22+
install:
23+
- ps: Install-Product node '8.9.1'
24+
- ps: Set-Location (Join-Path $env:APPVEYOR_BUILD_FOLDER '\tools\')
25+
- ps: npm install
26+
27+
build_script:
28+
- ps: Set-Location (Join-Path $env:APPVEYOR_BUILD_FOLDER '\tools\')
29+
- ps: npm run build-grammar
30+
31+
on_finish:
32+
- ps: Push-AppveyorArtifact (Join-Path $env:APPVEYOR_BUILD_FOLDER '\syntaxes\powershell.tmLanguage.json')

tools/package-lock.json

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)