Skip to content

Commit 6523d45

Browse files
authored
include native src code (#9)
1 parent 0e75b11 commit 6523d45

3 files changed

Lines changed: 6 additions & 3 deletions

File tree

docs/github_token_guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Setting Up a GitHub Personal Access Token for Exstatic
22

3-
This guide walks you through creating a **GitHub Personal Access Token (PAT)** to allow Exstatic to authenticate and fetch precompiled NIFs from a private repository.
3+
This guide walks you through creating a **GitHub Personal Access Token (PAT)** to allow Exstatic to authenticate and fetch precompiled NIFs from a private repository. If/when Exstatic becomes a public repo this will not be necessary.
44

55
## 1️⃣ Generate a New Token
66

lib/exstatic/release_helper.ex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
11
defmodule Exstatic.ReleaseHelper do
22
@moduledoc """
3-
A helper module for fetching precompiled assets from a private GitHub release.
3+
A helper module for fetching precompiled assets from a private GitHub release.
4+
5+
If/when Exstatic becomes a public repo this will not be necessary.
46
57
This module is designed to work with `RustlerPrecompiled`, allowing it to dynamically
68
fetch the correct precompiled NIF binaries from a GitHub release using the GitHub API.

mix.exs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,8 @@ defmodule Exstatic.MixProject do
6464
[
6565
name: "exstatic",
6666
organization: "zappi",
67-
files: ~w(lib mix.exs README.md checksum-*.exs),
67+
files:
68+
~w(lib native/exstatic/src native/exstatic/Cargo.toml mix.exs README.md checksum-*.exs),
6869
licenses: ["MIT"],
6970
links: %{"GitHub" => @source_url}
7071
]

0 commit comments

Comments
 (0)