Skip to content

Commit 803d061

Browse files
committed
Merge pull request gruntjs#1292 from XhmikosR/master
Minor improvements
2 parents b1a341e + 2ab95af commit 803d061

File tree

3 files changed

+27
-33
lines changed

3 files changed

+27
-33
lines changed

.npmignore

-8
This file was deleted.

appveyor.yml

+23-24
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,42 @@
1+
# AppVeyor file
12
# http://www.appveyor.com/docs/appveyor-yml
23

3-
# Fix line endings in Windows. (runs before repo cloning)
4+
# Build version format
5+
version: "{build}"
6+
7+
clone_depth: 10
8+
9+
# Fix line endings on Windows
410
init:
5-
- git config --global core.autocrlf input
11+
- git config --global core.autocrlf true
612

7-
# Test against these versions of Node.js.
13+
# What combinations to test
814
environment:
915
matrix:
10-
- nodejs_version: "0.10"
11-
- nodejs_version: "0.8"
12-
- nodejs_version: "0.11"
16+
- nodejs_version: 1.0
17+
- nodejs_version: 0.12
18+
- nodejs_version: 0.10
19+
- nodejs_version: 0.8
1320

14-
# Allow failing jobs for bleeding-edge Node.js versions.
15-
matrix:
16-
allow_failures:
17-
- nodejs_version: "0.11"
18-
19-
# Install scripts. (runs after repo cloning)
2021
install:
21-
# Get the latest stable version of Node 0.STABLE.latest
2222
- ps: Install-Product node $env:nodejs_version
23-
# Typical npm stuff.
24-
- npm install
25-
# Grunt-specific stuff.
2623
- npm install -g grunt-cli
27-
- npm uninstall grunt # https://github.com/npm/npm/issues/3958
24+
- npm install
25+
26+
build: off
2827

29-
# Post-install test scripts.
3028
test_script:
3129
# Output useful info for debugging.
32-
- node --version
33-
- npm --version
30+
- node --version && npm --version
3431
# We test multiple Windows shells because of prior stdout buffering issues
3532
# filed against Grunt. https://github.com/joyent/node/issues/3584
3633
- ps: "npm test # PowerShell" # Pass comment to PS for easier debugging
3734
- cmd: npm test
3835

39-
# Don't actually build.
40-
build: off
36+
matrix:
37+
fast_finish: true
4138

42-
# Set build version format here instead of in the admin panel.
43-
version: "{build}"
39+
cache:
40+
- C:\Users\appveyor\AppData\Roaming\npm\node_modules # global npm modules
41+
- C:\Users\appveyor\AppData\Roaming\npm-cache # npm cache
42+
- node_modules # local npm modules

package.json

+4-1
Original file line numberDiff line numberDiff line change
@@ -68,5 +68,8 @@
6868
"difflet": "~0.2.3",
6969
"semver": "2.1.0",
7070
"shelljs": "~0.2.5"
71-
}
71+
},
72+
"files": [
73+
"lib"
74+
]
7275
}

0 commit comments

Comments
 (0)