forked from TechBowl-japan/go-stations
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request TechBowl-japan#1 from TechBowl-japan/feature/railw…
…ay-cli-integration Add Railway CLI integration
- Loading branch information
Showing
27 changed files
with
310 additions
and
0 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,3 +14,6 @@ | |
# local database file | ||
.sqlite3/* | ||
!.sqlite3/.gitkeep | ||
|
||
node_modules | ||
.DS_Store |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
auth = { } |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"railwayId": 5, | ||
"stations": { | ||
"1": "station01.json", | ||
"2": "station02.json", | ||
"3": "station03.json", | ||
"4": "station04.json", | ||
"5": "station05.json", | ||
"6": "station06.json", | ||
"7": "station07.json", | ||
"8": "station08.json", | ||
"9": "station09.json", | ||
"11": "station11.json", | ||
"12": "station12.json", | ||
"13": "station13.json", | ||
"14": "station14.json", | ||
"15": "station15.json", | ||
"16": "station16.json", | ||
"17": "station17.json", | ||
"18": "station18.json", | ||
"19": "station19.json" | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "Station 01", | ||
"id": 1, | ||
"prepare": [], | ||
"tests": [ | ||
{ | ||
"type": "go-test", | ||
"module": true, | ||
"path": "./_test/sta1" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "Station 02", | ||
"id": 2, | ||
"prepare": [], | ||
"tests": [ | ||
{ | ||
"type": "go-test", | ||
"module": true, | ||
"path": "./_test/sta2" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "Station 03", | ||
"id": 3, | ||
"prepare": [], | ||
"tests": [ | ||
{ | ||
"type": "go-test", | ||
"module": true, | ||
"path": "./_test/sta3" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "Station 04", | ||
"id": 4, | ||
"prepare": [], | ||
"tests": [ | ||
{ | ||
"type": "go-test", | ||
"module": true, | ||
"path": "./_test/sta4" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "Station 05", | ||
"id": 5, | ||
"prepare": [], | ||
"tests": [ | ||
{ | ||
"type": "go-test", | ||
"module": true, | ||
"path": "./_test/sta5" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "Station 06", | ||
"id": 6, | ||
"prepare": [], | ||
"tests": [ | ||
{ | ||
"type": "go-test", | ||
"module": true, | ||
"path": "./_test/sta6" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "Station 07", | ||
"id": 7, | ||
"prepare": [], | ||
"tests": [ | ||
{ | ||
"type": "go-test", | ||
"module": true, | ||
"path": "./_test/sta7" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "Station 08", | ||
"id": 8, | ||
"prepare": [], | ||
"tests": [ | ||
{ | ||
"type": "go-test", | ||
"module": true, | ||
"path": "./_test/sta8" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "Station 09", | ||
"id": 9, | ||
"prepare": [], | ||
"tests": [ | ||
{ | ||
"type": "go-test", | ||
"module": true, | ||
"path": "./_test/sta9" | ||
}, | ||
{ | ||
"type": "interview" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "Station 10", | ||
"id": 10, | ||
"prepare": [], | ||
"tests": [ | ||
{ | ||
"type": "go-test", | ||
"module": true, | ||
"path": "./_test/sta10" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "Station 11", | ||
"id": 11, | ||
"prepare": [], | ||
"tests": [ | ||
{ | ||
"type": "go-test", | ||
"module": true, | ||
"path": "./_test/sta11" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "Station 12", | ||
"id": 12, | ||
"prepare": [], | ||
"tests": [ | ||
{ | ||
"type": "go-test", | ||
"module": true, | ||
"path": "./_test/sta12" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "Station 13", | ||
"id": 13, | ||
"prepare": [], | ||
"tests": [ | ||
{ | ||
"type": "go-test", | ||
"module": true, | ||
"path": "./_test/sta13" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "Station 14", | ||
"id": 14, | ||
"prepare": [], | ||
"tests": [ | ||
{ | ||
"type": "go-test", | ||
"module": true, | ||
"path": "./_test/sta14" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "Station 15", | ||
"id": 15, | ||
"prepare": [], | ||
"tests": [ | ||
{ | ||
"type": "go-test", | ||
"module": true, | ||
"path": "./_test/sta15" | ||
}, | ||
{ | ||
"type": "interview" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "Station 16", | ||
"id": 16, | ||
"prepare": [], | ||
"tests": [ | ||
{ | ||
"type": "go-test", | ||
"module": true, | ||
"path": "./_test/sta16" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "Station 17", | ||
"id": 17, | ||
"prepare": [], | ||
"tests": [ | ||
{ | ||
"type": "go-test", | ||
"module": true, | ||
"path": "./_test/sta17" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"name": "Station 18", | ||
"id": 18, | ||
"prepare": [], | ||
"tests": [ | ||
{ | ||
"type": "go-test", | ||
"module": true, | ||
"path": "./_test/sta18" | ||
} | ||
] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"name": "Station 19", | ||
"id": 19, | ||
"prepare": [], | ||
"tests": [ | ||
{ | ||
"type": "go-test", | ||
"module": true, | ||
"path": "./_test/sta19" | ||
}, | ||
{ | ||
"type": "interview" | ||
} | ||
] | ||
} |
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"name": "go-stations", | ||
"version": "1.0.0", | ||
"main": "index.js", | ||
"license": "MIT", | ||
"repository": "https://github.com/TechBowl-japan/go-stations.git", | ||
"author": "Hikaru Terazono (3c1u) <[email protected]>", | ||
"dependencies": { | ||
"@techtrain/cli-railway": "0.1.2" | ||
}, | ||
"devDependencies": { | ||
"simple-git-hooks": "^2.5.1" | ||
}, | ||
"scripts": { | ||
"login:techtrain": "techtrain-railway login", | ||
"hook:pre-commit": "techtrain-railway hook:pre-commit", | ||
"hook:update": "simple-git-hooks", | ||
"postinstall": "yarn hook:update && yarn login:techtrain" | ||
}, | ||
"simple-git-hooks": { | ||
"pre-commit": "yarn hook:pre-commit" | ||
} | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
// +build tools | ||
|
||
package tools | ||
|
||
import ( | ||
_ "github.com/jstemmer/go-junit-report" | ||
) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY. | ||
# yarn lockfile v1 | ||
|
||
|
||
"@techtrain/[email protected]": | ||
version "0.1.1" | ||
resolved "https://registry.yarnpkg.com/@techtrain/cli-railway/-/cli-railway-0.1.1.tgz#6a121a1b47cc4c2725bacdbda7aa9dabe2b2c13d" | ||
integrity sha512-x3ZckGFEzP0xlp5BJD/epmYM2Lp5z3R+2tIO+EBo3nfsxVhm5GvGQcqqSjhLv+Va2biFVPhK+uvnYMOoxWR3KA== | ||
|
||
simple-git-hooks@^2.5.1: | ||
version "2.5.1" | ||
resolved "https://registry.yarnpkg.com/simple-git-hooks/-/simple-git-hooks-2.5.1.tgz#78ed9cfa552843bc45cd36ad5b7424567119c2f4" | ||
integrity sha512-iI/MEEVObv45slsxz+BT+5NCS2UDgVIqfQKmNjL4/XnEfacpdYAHd71Imc5Nw/FY100A+i1PIXdIdkLHYcC2Bg== |