Skip to content

Commit

Permalink
v0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
cocoa-xu committed Jun 14, 2024
1 parent 8c7b617 commit c8be3ad
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -27,3 +27,5 @@ ExPTY-*.tar

.DS_Store
.vscode/

checksum.exs
4 changes: 4 additions & 0 deletions Makefile.win
Original file line number Diff line number Diff line change
Expand Up @@ -51,3 +51,7 @@ $(NIF_SO): $(PRIV_DIR) $(NIF_BUILD_DIR) $(LIBUV_A)
cmake --build . $(MAKE_BUILD_FLAGS) --config "$(CMAKE_BUILD_TYPE)" && \
cmake --install . --config "$(CMAKE_BUILD_TYPE)" \
)

clean:
@ if exist "$(NIF_SO)" del "$(NIF_SO)"
@ if exist "$(SPAWN_HELPER)" del "$(SPAWN_HELPER)"
9 changes: 8 additions & 1 deletion mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,14 @@ defmodule ExPTY.MixProject do
make_env: %{
"MAKE_BUILD_FLAGS" =>
System.get_env("MAKE_BUILD_FLAGS", "-j#{System.schedulers_online()}")
}
},
make_precompiler: {:nif, CCPrecompiler},
make_precompiler_url: "#{@github_url}/releases/download/v#{@version}/@{artefact_filename}",
make_precompiler_filename: "adbc_nif",
make_precompiler_nif_versions: [versions: ["2.16"]],
cc_precompiler: [
cleanup: "clean",
]
]
end

Expand Down

0 comments on commit c8be3ad

Please sign in to comment.