-
Notifications
You must be signed in to change notification settings - Fork 23
/
Makefile
24 lines (16 loc) · 594 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
corpus = lib/corpus/adjectives.bin lib/corpus/nouns.bin lib/corpus/adjectives-fixed.bin lib/corpus/nouns-fixed.bin lib/corpus/adverbs.bin lib/corpus/adverbs-fixed.bin lib/corpus/verbs.bin lib/corpus/verbs-fixed.bin
test: corpus
ruby -Ilib tests.rb
irb:
irb -Ilib -rspicy-proton
gem: *.gem
publish: gem
@ls -1 *gem
@echo Press enter to publish gem. && read
gem push *.gem
*.gem: corpus
gem build spicy-proton.gemspec
corpus: $(corpus)
$(corpus): corpus/adjectives.txt corpus/nouns.txt corpus/adverbs.txt corpus/verbs.txt
ruby -Ilib corpus/generate.rb
.PHONY: test gem irb publish