mirror of
https://github.com/samsonjs/samhuri.net.git
synced 2026-06-23 04:44:54 +00:00
Tasks are now namespaced by concern: build:*, draft:*, publish:*, quality:*. bake.rb is reduced to load path setup and the default task.
8 lines
223 B
Ruby
8 lines
223 B
Ruby
LIB_PATH = File.expand_path("lib", __dir__).freeze
|
|
$LOAD_PATH.unshift(LIB_PATH) unless $LOAD_PATH.include?(LIB_PATH)
|
|
|
|
# Default task: run coverage and lint.
|
|
def default
|
|
call("quality:coverage")
|
|
call("quality:lint")
|
|
end
|