This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "jwt" | |
key_file = "Path to the private key" | |
team_id = "Your Team ID" | |
client_id = "The Service ID of the service you created" | |
key_id = "The Key ID of the private key" | |
validity_period = 180 # In days. Max 180 (6 months) according to Apple docs. | |
private_key = OpenSSL::PKey::EC.new IO.read key_file |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# put the following line in `~/.config/build_changelog/config`: | |
# OAUTH_TOKEN=<github-personal-token> | |
source ~/.config/build_changelog/config | |
start=${1} | |
end=${2:-"develop"} | |
repo=$(git remote show origin \ | |
| grep "Fetch URL" \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def project do | |
[ | |
#... other informations | |
docs: [extras: ["README.md"], main: "README"] | |
#... other informations | |
] | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def project do | |
[ | |
#... other informations | |
docs: [extras: ["README.md"]] | |
#... other informations | |
] | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def project do | |
[ | |
#... other informations | |
docs: [logo: "path/to/project-logo.png"] | |
#... other informations | |
] | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def project do | |
[ | |
#... other informations | |
homepage_url: "http://awesome-project-name.com", | |
#... other informations | |
] | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def project do | |
[ | |
#... other informations | |
source_url: "https://github.com/username/project-url", | |
#... other informations | |
] | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def project do | |
[ | |
#... other informations | |
name: "My Awesome App", | |
#... other informations | |
] | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# mix.exs | |
defp deps do | |
[ | |
{:ex_doc, "~> 0.9.0", only: :dev}, | |
{:earmark, ">= 0.0.0", only: :dev} | |
] | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# test/flip_test.exs | |
defmodule FlipTest do | |
use ExUnit.Case | |
doctest Flip | |
end |
NewerOlder