ggake 0.2.0 → 0.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ggake/coffee.rb +13 -0
- data/lib/ggake/version.rb +1 -1
- data/lib/ggake.rb +1 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: be450f0581445fbe9e99f1e495ca276eb2fe1939
|
4
|
+
data.tar.gz: e8cd01f814155d577757eaa23c0e5680c572c562
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5ccd8dc86e30a7cffa7a3960cfd77178e557a5d14e0810ba4fe89d0353ff776072470b59fd7fc8d4df0426a14b36702013f89cead1a1ce0c6c1d654a9a7fc220
|
7
|
+
data.tar.gz: 11842f31682fed14ceb042c1205d1747a96c33025c0b53ad58b9dc485ec19a8ca2573690a93c04a2ea22a3d7b456d2dee76d1deca44a5d19c0fd7dd00a79daea
|
data/lib/ggake/coffee.rb
ADDED
@@ -0,0 +1,13 @@
|
|
1
|
+
module Rake
|
2
|
+
module DSL
|
3
|
+
|
4
|
+
def coffee(input, options)
|
5
|
+
(File.join(options[:output], File.basename(input, '.coffee')) + '.js').tap do |js_file|
|
6
|
+
file js_file => input do
|
7
|
+
sh "coffee --compile --output #{options[:output]} #{input}"
|
8
|
+
end
|
9
|
+
end
|
10
|
+
end
|
11
|
+
|
12
|
+
end
|
13
|
+
end
|
data/lib/ggake/version.rb
CHANGED
data/lib/ggake.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ggake
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Giles Alexander
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rake
|
@@ -99,6 +99,7 @@ files:
|
|
99
99
|
- ggake.gemspec
|
100
100
|
- lib/ggake.rb
|
101
101
|
- lib/ggake/cloud_cp.rb
|
102
|
+
- lib/ggake/coffee.rb
|
102
103
|
- lib/ggake/haml.rb
|
103
104
|
- lib/ggake/transient.rb
|
104
105
|
- lib/ggake/version.rb
|