mirror of
https://github.com/neocities/neocities.git
synced 2025-04-25 01:32:36 +02:00
Little rearrangin
This commit is contained in:
parent
322201332f
commit
671b29bc9f
1 changed files with 6 additions and 2 deletions
8
Rakefile
8
Rakefile
|
@ -30,12 +30,16 @@ HERE
|
||||||
end
|
end
|
||||||
=end
|
=end
|
||||||
|
|
||||||
desc "parse logs"
|
desc "prune logs"
|
||||||
task :parse_logs => [:environment] do
|
task :prune_logs => [:environment] do
|
||||||
Stat.prune!
|
Stat.prune!
|
||||||
StatLocation.prune!
|
StatLocation.prune!
|
||||||
StatReferrer.prune!
|
StatReferrer.prune!
|
||||||
StatPath.prune!
|
StatPath.prune!
|
||||||
|
end
|
||||||
|
|
||||||
|
desc "parse logs"
|
||||||
|
task :parse_logs => [:environment] do
|
||||||
Stat.parse_logfiles $config['logs_path']
|
Stat.parse_logfiles $config['logs_path']
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue