Attempt at travis
This commit is contained in:
3
.gitignore
vendored
3
.gitignore
vendored
@@ -8,3 +8,6 @@
|
|||||||
# bundler specific
|
# bundler specific
|
||||||
.gem
|
.gem
|
||||||
.bundle
|
.bundle
|
||||||
|
|
||||||
|
# npm specific
|
||||||
|
node_modules
|
||||||
|
@@ -7,6 +7,13 @@ language: ruby
|
|||||||
rvm:
|
rvm:
|
||||||
- 2.2.2
|
- 2.2.2
|
||||||
|
|
||||||
|
install:
|
||||||
|
- bundle
|
||||||
|
- . $HOME/.nvm/nvm.sh
|
||||||
|
- nvm install 5.0
|
||||||
|
- nvm use 5.0
|
||||||
|
- npm install tldr-lint
|
||||||
|
|
||||||
gemfile:
|
gemfile:
|
||||||
- Gemfile
|
- Gemfile
|
||||||
|
|
||||||
|
3
Makefile
3
Makefile
@@ -19,6 +19,7 @@ prerequisites:
|
|||||||
@echo "TL;DR:"
|
@echo "TL;DR:"
|
||||||
@echo "1. Install Ruby suitable for your system"
|
@echo "1. Install Ruby suitable for your system"
|
||||||
@echo "2. Run 'gem install bundler'"
|
@echo "2. Run 'gem install bundler'"
|
||||||
|
@echo "3. Install npm for your system"
|
||||||
@echo
|
@echo
|
||||||
|
|
||||||
hooks:
|
hooks:
|
||||||
@@ -28,9 +29,11 @@ hooks:
|
|||||||
|
|
||||||
deps:
|
deps:
|
||||||
@bundle
|
@bundle
|
||||||
|
@npm install tldr-lint
|
||||||
@echo "OK"
|
@echo "OK"
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
@bundle exec mdl --style ./scripts/markdown-style.rb pages
|
@bundle exec mdl --style ./scripts/markdown-style.rb pages
|
||||||
|
@`pwd`/node_modules/.bin/tldr-lint ./pages
|
||||||
|
|
||||||
.PHONY: default index setup prerequisites hooks deps lint
|
.PHONY: default index setup prerequisites hooks deps lint
|
||||||
|
Reference in New Issue
Block a user