Skip to content

Commit

Permalink
Be consistent with Explorer nomenclature
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Nov 12, 2024
1 parent bdf38a4 commit 30166c8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ And now you can make queries with:
{:ok, _} = Adbc.Connection.query(conn, "SELECT 123")
```

## Precompiled artifacts

This project ships with precompiled artifacts. You can force a build by setting `ADBC_BUILD=1`.

## License

Copyright 2023 Cocoa Xu, José Valim
Expand Down
6 changes: 3 additions & 3 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,9 @@ defmodule Adbc.MixProject do
end

defp precompiled do
if System.get_env("ADBC_PREFER_PRECOMPILED", "true") == "true" do
if System.get_env("ADBC_BUILD") in ["1", "true"] do
[]
else
[
make_precompiler: {:nif, CCPrecompiler},
make_precompiler_url:
Expand Down Expand Up @@ -48,8 +50,6 @@ defmodule Adbc.MixProject do
}
]
]
else
[]
end
end

Expand Down

0 comments on commit 30166c8

Please sign in to comment.