Signed-off-by: Miah Johnson <miah@chia-pet.org>
This commit is contained in:
Miah Johnson 2019-05-30 22:48:27 -07:00
parent 1a448f6264
commit 5b047dd836

View file

@ -62,18 +62,18 @@ namespace :www do # rubocop:disable Metrics/BlockLength
Verify.file('build/javascripts/all.js')
Verify.file('build/stylesheets/site.css')
end
task :site => [:accept_license]
task site: [:accept_license]
desc 'Assemble the website site from middleman'
task :assemble do
Log.section 'Copy only tutorial into middleman build directory'
sh('rsync -a --exclude=index.html build/')
end
task :assemble => [:accept_license]
task assemble: [:accept_license]
desc 'Builds the full site locally'
task build: ['www:site', 'www:assemble']
task :build => [:accept_license]
task build: [:accept_license]
task :clean do
dst = 'build'