mdtex 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mdtex/tasks/build.rake +4 -3
- data/lib/mdtex/version.rb +1 -1
- metadata +2 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab85bbc1b220668606e0146be31524f7c71c98cb
|
4
|
+
data.tar.gz: 3211094892f755ffccd5d70a67749f188264f3f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8472ed3e1857b8c38eb0c0abfd84e3973efa4b4fd3f3e618ee7bbf629012fd0914d9d356cc2d738a2d8bf814cb1258ac04c7abd3a42cf8a00534dfe82f2db166
|
7
|
+
data.tar.gz: 90f8ca78a657dde3220163187ff1ae275442ca5f48910b2ebbb7cb34a11cccf6eeac0ea5b8b39bca4e0064329b95d8aeae0f51c4ef6d1ab22c3fbbaad6abce3b
|
data/lib/mdtex/tasks/build.rake
CHANGED
@@ -2,11 +2,12 @@ include Mdtex::load_config
|
|
2
2
|
|
3
3
|
verbose false
|
4
4
|
|
5
|
-
directory TEMP_DIR
|
6
|
-
directory DEST_DIR
|
7
5
|
desc "Build #{PDF_FILE} into #{File.basename(DEST_DIR)}"
|
8
6
|
task build: File.join(DEST_DIR, PDF_FILE)
|
9
7
|
|
8
|
+
directory TEMP_DIR
|
9
|
+
directory DEST_DIR
|
10
|
+
|
10
11
|
# Copy SRC_DIR/* (exclude *.md) to TEMP_DIR
|
11
12
|
rule %r{^#{TEMP_DIR}/(?!.+\.md$)} => "%{^#{TEMP_DIR},#{SRC_DIR}}p" do |task|
|
12
13
|
Mdtex::make_target_directory(task.name)
|
@@ -46,6 +47,6 @@ file File.join(TEMP_DIR, PDF_FILE) => File.join(TEMP_DIR, DVI_FILE) do |task|
|
|
46
47
|
end
|
47
48
|
|
48
49
|
# Copy PDF_FILE to DEST_DIR
|
49
|
-
file File.join(DEST_DIR, PDF_FILE) => File.join(TEMP_DIR, PDF_FILE) do |task|
|
50
|
+
file File.join(DEST_DIR, PDF_FILE) => [File.join(TEMP_DIR, PDF_FILE), DEST_DIR] do |task|
|
50
51
|
cp task.prerequisites[0], DEST_DIR
|
51
52
|
end
|
data/lib/mdtex/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mdtex
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- izumin5210
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-
|
11
|
+
date: 2014-07-12 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -117,4 +117,3 @@ signing_key:
|
|
117
117
|
specification_version: 4
|
118
118
|
summary: Make LaTeX document with Markdown
|
119
119
|
test_files: []
|
120
|
-
has_rdoc:
|