You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 13, 2018. It is now read-only.
classApous < Formulaversion"0.1.2"desc"Apous is a simple tool that allows for easier authoring of Swift scripts."homepage"https://github.com/owensd/apous"url"https://github.com/owensd/apous/releases/download/v0.1.2/apous"sha256"3f517ecfe1e7ea32751586bb474acb4a4988029deb12b90b3b91ea9e2e3aa229"depends_on:xcodedefinstallsystem"chmod +x apous"bin.install"apous"endtestdo(testpath/"test.swift").write<<-EOS.undent println("Hello World") EOSrequire"open3"Open3.popen3("#{bin}/apous","test.swift")do |_,stdout,_|
assert_equal"Hello World",stdout.read.stripendendend
In the future you should probably zip the release so we can remove the chmod command and generate the sha256 before uploading it.
Maybe add it to homebrew or just have a simple script that can be run.
The text was updated successfully, but these errors were encountered: