Giter Club home page Giter Club logo

Comments (5)

johnhamelink avatar johnhamelink commented on August 18, 2024

Hey @niku, thanks for this detailed issue. I'll take a look and see what this issue is later on today.

Thanks again!

from exrm_deb.

niku avatar niku commented on August 18, 2024

Hi, I'm digging deeper.

I rewrite ExrmDeb.Utils.root to:

  def root do
    IO.inspect "** Application.get_all_env(:exrm_deb) => #{inspect Application.get_all_env(:exrm_deb)} **"
    IO.inspect "** Application.get_env(:exrm_deb, :root) => #{inspect Application.get_env(:exrm_deb, :root)} **"
    Application.get_env(:exrm_deb, :root)
  end

And, I execute mix do release --deb again.

"** Application.get_all_env(:exrm_deb) => [] **"
"** Application.get_env(:exrm_deb, :root) => nil **"

It seems ExrmDeb.Utils.Config.root returns nil in the above environment.
But I'm not sure why it returns nil 😢

Hope it helps.

from exrm_deb.

johnhamelink avatar johnhamelink commented on August 18, 2024

@niku I believe it's fixed now, give it a shot!

{:exrm_deb, github: "johnhamelink/exrm_deb", ref: "5d09389"}

If it works, let me know and I'll release a new hex package.

Thanks!

from exrm_deb.

johnhamelink avatar johnhamelink commented on August 18, 2024

@niku did you get a chance to check that this works for you?

from exrm_deb.

niku avatar niku commented on August 18, 2024

Sorry for the reply.

A release command is succeed.
So, I think this issue is closable.Thank you!

% mix do deps.get, release --deb
(...snip...)
Building release with MIX_ENV=dev.
==> A debian package has successfully been created. You can find it in the ./rel directory
==> The release for exrm_deb_sandbox-0.0.1 is ready!
==> You can boot a console running your release with `$ rel/exrm_deb_sandbox/bin/exrm_deb_sandbox console`

Unfortunately, I ran into other issue #9.
I think better that we would wait release until fixing the issue.

from exrm_deb.

Related Issues (14)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.