Skip to content

Add rebar3 plugin to handle edb test dependencies - #17

Closed
jcpetruzza wants to merge 1 commit into
WhatsApp:mainfrom
jcpetruzza:export-D91346198
Closed

jcpetruzza wants to merge 1 commit into
WhatsApp:mainfrom
jcpetruzza:export-D91346198

Conversation

@jcpetruzza

Copy link
Copy Markdown
Contributor

Summary:

Context

The tests of the edb application assume that the edb binary is available in the resource directory of the suite.

Problem

We've been using a hacky pre-hook to ensure this, but it doesn't scale well, and for windows the logic needs to be different

This diff

We instead introduce an ad-hoc rebar3 plugin that essentially does the same: copies the edb binary from the escript to the resource directory of every suite

Reviewed By: robertoaloi, michalmuskala

Differential Revision: D91346198

@meta-cla meta-cla Bot added the cla signed label Jan 26, 2026
@meta-codesync

meta-codesync Bot commented Jan 26, 2026

Copy link
Copy Markdown

@jcpetruzza has exported this pull request. If you are a Meta employee, you can view the originating Diff in D91346198.

@jcpetruzza jcpetruzza mentioned this pull request Jan 26, 2026
jcpetruzza added a commit to jcpetruzza/edb that referenced this pull request Jan 26, 2026
Summary:

# Context
The tests of the `edb` application assume that the `edb` binary is available in the resource directory of the suite.

# Problem
We've been using a hacky pre-hook to ensure this, but it doesn't scale well, and for windows the logic needs to be different

# This diff
We instead introduce an ad-hoc rebar3 plugin that essentially does the same: copies the edb  binary from the escript to the resource directory of every suite

Reviewed By: robertoaloi, michalmuskala

Differential Revision: D91346198
Summary:

# Context
The tests of the `edb` application assume that the `edb` binary is available in the resource directory of the suite.

# Problem
We've been using a hacky pre-hook to ensure this, but it doesn't scale well, and for windows the logic needs to be different

# This diff
We instead introduce an ad-hoc rebar3 plugin that essentially does the same: copies the edb  binary from the escript to the resource directory of every suite

Reviewed By: robertoaloi, michalmuskala

Differential Revision: D91346198
@meta-codesync

meta-codesync Bot commented Jan 26, 2026

Copy link
Copy Markdown

This pull request has been merged in c379a9b.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants