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
defmodule Wx do | |
@vsn "0.0.2" | |
@author "Onorio Catenacci" | |
@author "Dominic Letz" | |
@last_revision_date "22 May 2019" | |
@moduledoc """ | |
Elixir version of the constants found in the wx.hrl file | |
""" | |
import Bitwise | |
require Record |
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
f(). | |
Str = fun(X) -> io_lib:format("~p", [X]) end. | |
Percent = fun | |
(A, 0) -> "100%"; | |
(A, B) -> [Str(round(100*A/B)), "%"] | |
end. | |
Get = fun |
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
name: "CI" | |
on: ["push", "pull_request"] | |
jobs: | |
build_and_test: | |
name: "Run tests and build artifacts" | |
strategy: | |
matrix: | |
os: ["windows-latest", "ubuntu-latest", "macOS-latest"] | |
go: ["1.14.x"] |