Skip to content

Commit

Permalink
mvp-tema-i18n (#9): Rakefile iniciado (provavelmente vamos mover tare…
Browse files Browse the repository at this point in the history
…fas principais que já não forem o jekyll serve aqui para simplificar quem for manter)
  • Loading branch information
fititnt committed May 26, 2021
1 parent 69b66f0 commit 8ef6eeb
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
# frozen_string_literal: true

# gem install rake
# https://ruby.github.io/rake/doc/rakefile_rdoc.html

# https://www.devdungeon.com/content/ruby-rake-tutorial
task default: %i[clean build install]

task :clean do
puts 'Cleaning packages'
# `rm *.deb`
end

task :build do
puts 'Building mypackage-0.0.0'
# `dpkg -b ./mypackage-0.0.0 ./mypackage-0.0.0.deb`
puts 'Try `rake install` now.'
end

task :uninstall do
puts 'Uninstalling mypackage'
# `sudo apt-get remove -y mypackage`
end

task install: [:uninstall] do
puts 'Installing mypackage-0.0.0'
# `sudo apt-get install -y ./mypackage-0.0.0.deb`
end

0 comments on commit 8ef6eeb

Please sign in to comment.