forked from chrisanthropic/starving-artist-jekyll-theme
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Rakefile
36 lines (29 loc) · 838 Bytes
/
Rakefile
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
31
32
33
34
35
36
##############
# Build #
##############
# Generate the site
# Minify, optimize, and compress
desc "build the site"
task :build do
system "JEKYLL_ENV=production bundle exec jekyll build --incremental"
end
##############
# Develop #
##############
# Useful for development
# It watches for chagnes and updates when it finds them
desc "Watch the site and regenerate when it changes"
task :watch do
system "JEKYLL_ENV=development bundle exec jekyll serve --config '_config.yml,_config_localhost.yml' --watch"
end
################
# Gem Theme #
################
desc "create the gem"
task :buildgem do
system "JEKYLL_ENV=production bundle exec gem build starving-artist.gemspec"
end
desc "release the gem"
task :releasegem do
system "JEKYLL_ENV=production bundle exec gem push starving-artist-jekyll-theme-*.gem"
end