mirror of
https://github.com/hkalexling/Mango.git
synced 2025-08-02 19:05:32 -04:00
Only log the "baking dist/" message when building for release
This commit is contained in:
parent
7a7c855ce4
commit
9ffe896705
@ -4,12 +4,14 @@ require "./util"
|
||||
|
||||
class FS
|
||||
extend BakedFileSystem
|
||||
{% if read_file? "#{__DIR__}/../dist/favicon.ico" %}
|
||||
{% puts "baking ../dist" %}
|
||||
bake_folder "../dist"
|
||||
{% else %}
|
||||
{% puts "baking ../public" %}
|
||||
bake_folder "../public"
|
||||
{% if flag?(:release) %}
|
||||
{% if read_file? "#{__DIR__}/../dist/favicon.ico" %}
|
||||
{% puts "baking ../dist" %}
|
||||
bake_folder "../dist"
|
||||
{% else %}
|
||||
{% puts "baking ../public" %}
|
||||
bake_folder "../public"
|
||||
{% end %}
|
||||
{% end %}
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user