-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
30 lines (22 loc) · 787 Bytes
/
Rakefile
File metadata and controls
30 lines (22 loc) · 787 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
require 'pry'
require 'require_all'
require 'highline/import'
require_all ['lib/webpack', 'lib/core_extensions']
load_all 'lib/tasks/*.rake'
desc 'List all rake tasks for this project!'
task :tasks do
system("clear && printf '\\e[3J'")
system('rake -T')
end
desc 'Rake help me information!'
task :readme do
system("clear && printf '\\e[3J'")
readme = <<~EOF
Here are some helpful notes if you forget where things are!
1. Use "rake tasks" to list all the tasks available in the project.
2. The server rake tasks accept the "--verbose" flag to output the verbose stream to a log file.
EOF
puts("---------------------------------------------------------->>\n\n")
puts readme
puts("\n---------------------------------------------------------->>\n\n")
end