forked from whoward/jslint-johnson
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
27 lines (21 loc) · 851 Bytes
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
require 'rubygems'
require 'rake'
require 'jeweler'
require File.join(File.dirname(__FILE__), 'lib', 'jslint-johnson', 'version')
Jeweler::Tasks.new do |gem|
gem.name = "jslint-johnson"
gem.summary = "JSLint CLI and rake tasks via johnson"
gem.description = <<-EOS
- Ruby gem wrapper for a JSLint CLI.
- Uses the Johnson library for performance.
- Targeted for usage in CI environments.
- Thoroughly tested.
EOS
gem.homepage = "http://github.com/whoward/jslint-johnson"
gem.authors = ["William Howard"]
gem.email = "whoward.tke@gmail.com"
gem.version = JSLintJohnson::Version::STRING
gem.add_dependency 'johnson', '~> 1.2.0'
gem.executables = ['jslint-johnson']
gem.files = Dir.glob("lib/**/*.rb") + Dir.glob("lib/**/*.js") + %w(Gemfile Gemfile.lock bin/jslint-johnson)
end