forked from http-kit/http-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
30 lines (25 loc) · 769 Bytes
/
Rakefile
File metadata and controls
30 lines (25 loc) · 769 Bytes
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
28
29
30
task :default => :test
desc "Run unit test"
task :test do
sh './scripts/javac with-test && lein test'
end
desc "Install in local repository"
task :install_local => :test do
sh 'lein deps && rm -rf *.jar pom.xml classes target && lein jar && lein install'
sh 'cd ~/workspace/rssminer && lein deps'
end
desc "Install in clojars repository"
task :clojars => :test do
sh 'rm -rf *.jar pom.xml classes target && lein pom && lein jar'
sh "cp target/*.jar ."
sh 'scp pom.xml *.jar clojars@clojars.org:'
end
desc "Start swank server for emacs"
task :swank do
sh "./scripts/javac with-test && lein swank"
end
desc "Benchmark to an idea how fast it can run"
task :bench do
sh 'rm -rf classes/ && lein deps && lein javac'
sh './scripts/benchmark bench'
end