Comments (5)
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.
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.
@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.
@niku did you get a chance to check that this works for you?
from exrm_deb.
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)
- Investigate using :erl_tar and :gzip directly in erlang HOT 1
- Unnecessary dependency on ex_doc and earmark
- Lintian errors and warnings to clean up
- Created .deb not installable since switch to erl_tar HOT 3
- Undefined function :swab.sync/2 HOT 5
- Add init scripts to package
- dpkg refuses to write to directories that don't exist HOT 5
- Distillery plugin - location of rel has changed HOT 1
- Add ability to flag files as config files
- Systemd script not working HOT 3
- deb file keeps growing with each new release
- Ideas/suggestions HOT 13
- Generated deb package could not install HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from exrm_deb.