Comments (3)
Ah, I figured out that if I explicitly recompile conform
after exrm
is compiled, the release plugin will be registered and the .conf file will be copied to the release as expected.
jeff ⋯ exrm-umbrella-test apps master_app ls -l rel/master_app/releases/0.0.1 master
total 40704
-rwx------+ 1 jeff staff 7289 Nov 20 15:39 master_app.bat
-rw-r--r--+ 1 jeff staff 26899 Nov 20 15:39 master_app.boot
-rw-r--r--+ 1 jeff staff 479 Nov 20 15:39 master_app.rel
-rw-r--r--+ 1 jeff staff 35584 Nov 20 15:39 master_app.script
-rwx------+ 1 jeff staff 19623 Nov 20 15:39 master_app.sh
-rw-r--r--+ 1 jeff staff 20693319 Nov 20 15:39 master_app.tar.gz
-rw-r--r--+ 1 jeff staff 26899 Nov 20 15:39 start.boot
-rw-r--r--+ 1 jeff staff 5312 Nov 20 15:39 start_clean.boot
-rw-r--r--+ 1 jeff staff 80 Nov 20 15:39 sys.config
-rw-r--r--+ 1 jeff staff 433 Nov 20 15:39 vm.args
jeff ⋯ exrm-umbrella-test apps master_app MIX_ENV=prod mix release.plugins master
protocol.consolidation # Performs protocol consolidation for your release.
appup # Generates a .appup for each dependency in your project
jeff ⋯ exrm-umbrella-test apps master_app MIX_ENV=prod mix deps.compile conform master
==> conform
Compiled lib/mix/plugins/exrm_conform.ex
Generated conform app
jeff ⋯ exrm-umbrella-test apps master_app MIX_ENV=prod mix release.plugins master
protocol.consolidation # Performs protocol consolidation for your release.
appup # Generates a .appup for each dependency in your project
conform # Generates a .conf for your release
jeff ⋯ exrm-umbrella-test apps master_app MIX_ENV=prod mix release master
Building release with MIX_ENV=prod.
You have dependencies (direct/transitive) which are not in :applications!
The following apps should to be added to :applications in mix.exs:
conform -> neotoma => neotoma is missing from conform
Continue anyway? Your release may not work as expected if these dependencies are required! [Yn]:
Compiling src/conf_parse.peg
PEG manifest updated
==> conform
Compiled src/conf_parse.erl
lib/conform/schema.ex:1: warning: redefining module Conform.Schema
Compiled lib/conform/schema/transform.ex
Compiled lib/conform/schema/validator.ex
Compiled lib/conform/sysconfig.ex
Compiled lib/conform/schema/mapping.ex
Compiled lib/conform/type.ex
Compiled lib/conform.ex
Compiled lib/conform/types/enum.ex
Compiled lib/conform/conf.ex
Compiled lib/conform/validators/range_validator.ex
lib/mix/plugins/exrm_conform.ex:2: warning: redefining module ReleaseManager.Plugin.Conform
lib/mix/tasks/conform.configure.ex:1: warning: redefining module Mix.Tasks.Conform.Configure
lib/mix/tasks/conform.archive.ex:1: warning: redefining module Mix.Tasks.Conform.Archive
Compiled lib/conform/parse.ex
lib/mix/tasks/conform.new.ex:1: warning: redefining module Mix.Tasks.Conform.New
lib/mix/tasks/conform.release.ex:1: warning: redefining module Mix.Tasks.Conform.Release
lib/mix/tasks/conform.effective.ex:1: warning: redefining module Mix.Tasks.Conform.Effective
Compiled lib/mix/plugins/exrm_conform.ex
Compiled lib/mix/tasks/conform.archive.ex
Compiled lib/mix/tasks/conform.release.ex
Compiled lib/conform/utils/utils.ex
Compiled lib/mix/tasks/conform.configure.ex
Compiled lib/mix/tasks/conform.new.ex
Compiled lib/conform/utils/code.ex
Compiled lib/mix/tasks/conform.effective.ex
Compiled lib/conform/schema.ex
Compiled lib/conform/translate.ex
Generated conform app
Generated escript conform with MIX_ENV=prod
==> The release for master_app-0.0.1 is ready!
==> You can boot a console running your release with `$ rel/master_app/bin/master_app console`
jeff ⋯ exrm-umbrella-test apps master_app ls -l rel/master_app/releases/0.0.1 master
total 54296
-rwxr-xr-x+ 1 jeff staff 2323886 Nov 20 15:40 conform
-rwx------+ 1 jeff staff 7289 Nov 20 15:40 master_app.bat
-rw-r--r--+ 1 jeff staff 26977 Nov 20 15:40 master_app.boot
-rw-r--r--+ 1 jeff staff 136 Nov 20 14:54 master_app.conf
-rw-r--r--+ 1 jeff staff 479 Nov 20 15:40 master_app.rel
-rw-r--r--+ 1 jeff staff 2763 Nov 20 14:53 master_app.schema.exs
-rw-r--r--+ 1 jeff staff 35698 Nov 20 15:40 master_app.script
-rwx------+ 1 jeff staff 19623 Nov 20 15:40 master_app.sh
-rw-r--r--+ 1 jeff staff 25319728 Nov 20 15:40 master_app.tar.gz
-rw-r--r--+ 1 jeff staff 26977 Nov 20 15:40 start.boot
-rw-r--r--+ 1 jeff staff 5312 Nov 20 15:40 start_clean.boot
-rw-r--r--+ 1 jeff staff 80 Nov 20 15:40 sys.config
-rw-r--r--+ 1 jeff staff 433 Nov 20 15:40 vm.args
from conform.
Ah that makes sense, I'll have to make a change in how exrm detects plugins, but it's fairly straightforward, should have a fix up this weekend.
from conform.
This is now fixed in conform 1.0.0-rc3
from conform.
Related Issues (20)
- Elixir 1.5.0 - erlang error: {:badrecord, :elixir_erl} HOT 9
- Conform fails to parse schema for umbrella app during release generation HOT 3
- Schema not found message with multiple level schema extends HOT 2
- Failing to parse binary HOT 3
- Does conform work without release? HOT 3
- UndefinedFunctionError - module Conform.Conf is not available HOT 8
- Failed to parse .conf! from autogenerated .conf file with very simple schema HOT 2
- pre_configure.sh missing - mix release fails with distillery v1.4.1
- Release fails on start because of blank SYS_CONFIG_PATH in 00_conform_pre_configure.sh HOT 1
- Environment variables should override .conf values HOT 2
- Support for tuples HOT 3
- Is it possible to set vm.args variables like the cookie HOT 1
- Empty lists in .conf file
- No support for types such as tuples. HOT 2
- release with distillery in :prod env not working HOT 1
- app not starting when configured using conform HOT 1
- Troubles getting started HOT 6
- `default: []` not working in umbrella release
- An issue with conform.new
- undeprecate conform HOT 1
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 conform.