From 0d4daa96d6dfd11dda13e9a0839d5b265a621523 Mon Sep 17 00:00:00 2001 From: cchalopin Date: Sun, 10 Jul 2022 11:00:47 +0200 Subject: [PATCH] fix: #236 --- Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c94777342..e46668d56 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,11 @@ build: - @go build -o bin/railway + @go build -o bin/railway -ldflags "-X main.OriginalInstallationMethod=curl" + +build_npm: + @go build -o bin/railway -ldflags "-X main.OriginalInstallationMethod=npm" + +build_brew: + @go build -o bin/railway -ldflags "-X main.OriginalInstallationMethod=brew" run: @go run main.go