mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-03 11:25:29 -04:00
Only log the "baking dist/" message when building for release
This commit is contained in:
parent
7a7c855ce4
commit
9ffe896705
@ -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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user