Skip to content

Commit

Permalink
Transferred ownership to Team-CC-Corp
Browse files Browse the repository at this point in the history
  • Loading branch information
ElvishJerricco committed Dec 3, 2014
1 parent 4bb4e93 commit 37ca5e8
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 13 deletions.
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

2 changes: 1 addition & 1 deletion bin/grin-get
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ end

run("grin-startup.lua")

local argparse = grin.getPackageAPI("ElvishJerricco/Grin", "argparse")
local argparse = grin.getPackageAPI("Team-CC-Corp/Grin", "argparse")
local commandParser = argparse.new()
commandParser
:argument"command"
Expand Down
6 changes: 3 additions & 3 deletions bin/grin-install.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
local json = grin.getPackageAPI("ElvishJerricco/Grin", "json")
local argparse = grin.getPackageAPI("ElvishJerricco/Grin", "argparse")
local json = grin.getPackageAPI("Team-CC-Corp/Grin", "json")
local argparse = grin.getPackageAPI("Team-CC-Corp/Grin", "argparse")

local parser = argparse.new()
parser
Expand Down Expand Up @@ -30,7 +30,7 @@ else
release = assert(releaseInfo[1], "No releases found")
end

local grinPrg = grin.resolveInPackage("ElvishJerricco/Grin", "grin")
local grinPrg = grin.resolveInPackage("Team-CC-Corp/Grin", "grin")

local ok, err
parallel.waitForAny(function()
Expand Down
2 changes: 1 addition & 1 deletion bin/grin-remove.lua
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
local argparse = grin.getPackageAPI("ElvishJerricco/Grin", "argparse")
local argparse = grin.getPackageAPI("Team-CC-Corp/Grin", "argparse")

local parser = argparse.new()
parser
Expand Down
6 changes: 3 additions & 3 deletions bin/grin-setup.lua
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
local grinDir = shell.resolve("/"..fs.combine(fs.getDir(shell.getRunningProgram()), ".."))

local grinPackagePath = "/" .. fs.combine(grinDir, "packages/ElvishJerricco/Grin/")
local grinPackagePath = "/" .. fs.combine(grinDir, "packages/Team-CC-Corp/Grin/")
local grinInstallPath = "/" .. fs.combine(grinPackagePath, "1.2.1")
shell.run("pastebin", "run", "VuBNx3va", "-u", "ElvishJerricco", "-r", "Grin", "-t", "1.2.1", grinInstallPath)
local githubApiResponse = assert(http.get("https://api.github.com/repos/ElvishJerricco/Grin/releases"))
shell.run("pastebin", "run", "VuBNx3va", "-u", "Team-CC-Corp", "-r", "Grin", "-t", "1.2.1", grinInstallPath)
local githubApiResponse = assert(http.get("https://api.github.com/repos/Team-CC-Corp/Grin/releases"))
assert(githubApiResponse.getResponseCode() == 200, "Failed github response")
local fh = fs.open(fs.combine(grinPackagePath, "releases.json"), "w")
fh.write(githubApiResponse.readAll())
Expand Down
2 changes: 1 addition & 1 deletion bin/grin-startup.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ assert(os.loadAPI(fs.combine(grinDir, "lib/grin")), "Failed to load Grin API")
if json then
os.unloadAPI("json")
end
local jsonAPIPath = grin.combine(grinDir, "packages/ElvishJerricco/Grin/1.2.1/lib/json")
local jsonAPIPath = grin.combine(grinDir, "packages/Team-CC-Corp/Grin/1.2.1/lib/json")
assert(os.loadAPI(jsonAPIPath), "Failed to load JSON API") -- grin requires a minimum of the json API

grin.setGrinDir(grinDir)
Expand Down
2 changes: 1 addition & 1 deletion installer.lua
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
shell.run("pastebin", "run", "VuBNx3va", "-u", "ElvishJerricco", "-r", "Grin-Get", "grin")
shell.run("pastebin", "run", "VuBNx3va", "-u", "Team-CC-Corp", "-r", "Grin-Get", "grin")
shell.run("grin/bin/grin-setup.lua")

0 comments on commit 37ca5e8

Please sign in to comment.