mirror of
https://github.com/hkalexling/Mango.git
synced 2026-05-01 00:00:55 -04:00
Only log the "baking dist/" message when building for release
This commit is contained in:
@@ -4,6 +4,7 @@ require "./util"
|
|||||||
|
|
||||||
class FS
|
class FS
|
||||||
extend BakedFileSystem
|
extend BakedFileSystem
|
||||||
|
{% if flag?(:release) %}
|
||||||
{% if read_file? "#{__DIR__}/../dist/favicon.ico" %}
|
{% if read_file? "#{__DIR__}/../dist/favicon.ico" %}
|
||||||
{% puts "baking ../dist" %}
|
{% puts "baking ../dist" %}
|
||||||
bake_folder "../dist"
|
bake_folder "../dist"
|
||||||
@@ -11,6 +12,7 @@ class FS
|
|||||||
{% puts "baking ../public" %}
|
{% puts "baking ../public" %}
|
||||||
bake_folder "../public"
|
bake_folder "../public"
|
||||||
{% end %}
|
{% end %}
|
||||||
|
{% end %}
|
||||||
end
|
end
|
||||||
|
|
||||||
class StaticHandler < Kemal::Handler
|
class StaticHandler < Kemal::Handler
|
||||||
|
|||||||
Reference in New Issue
Block a user