diff options
| author | mo khan <mo@mokhan.ca> | 2025-03-05 11:10:34 -0700 |
|---|---|---|
| committer | mo khan <mo@mokhan.ca> | 2025-03-05 11:10:34 -0700 |
| commit | 502228f90f6e3e7b03d2c3165a9b8b8f00e29dce (patch) | |
| tree | f53507beb32ef880b9571826d989683f7ba2ee59 /magefile.go | |
| parent | 98512feda282c2138e0bad54eb491f00e1cd5105 (diff) | |
feat: add a REST API service
Diffstat (limited to 'magefile.go')
| -rw-r--r-- | magefile.go | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/magefile.go b/magefile.go index 39afbf93..40df5ade 100644 --- a/magefile.go +++ b/magefile.go @@ -30,6 +30,11 @@ func RunGateway() error { return sh.RunV("go", "run", "./cmd/gtwy/main.go") } +// Run the REST API +func RunApi() error { + return sh.RunV("ruby", "./bin/rest-api") +} + // Open a web browser to the login page func Browser() error { if runtime.GOOS == "linux" { @@ -41,5 +46,5 @@ func Browser() error { // Run All the servers func Run(ctx context.Context) { - mg.CtxDeps(ctx, RunIdp, RunSp, RunGateway, Browser) + mg.CtxDeps(ctx, RunIdp, RunSp, RunApi, RunGateway) } |
