UnnoTed / fileb0x

a better customizable tool to embed files in go; also update embedded files remotely without restarting the server
MIT License
634 stars 53 forks source link

"prefix" bugs? #8

Closed iu0v1 closed 7 years ago

iu0v1 commented 7 years ago

Hey.

Has faced with several problems.

First

In attempt to use such configuration - I receive strange behavior. First dot in filenames will be replaced with a prefix var.

custom:
  - files:
    - "./main.go"
    - "./fileb0x.yaml"
    base: "./"
    prefix: "_bug?_"

Second

The prefix option doesn't work for me :(

  - files:
    - "./static"
    prefix: "test_prefix/"

Result:

fileb0x

iu0v1 commented 7 years ago

Oh. For some reason GH refused to load archive. Therefore I will share a full example in less cool way :) Direct link.

UnnoTed commented 7 years ago

Fixed, thanks!

iu0v1 commented 7 years ago

Great! Thank you!