mirror of
https://github.com/cgrates/cgrates.git
synced 2026-02-11 18:16:24 +05:00
7
build.sh
7
build.sh
@@ -1,13 +1,8 @@
|
||||
#! /usr/bin/env sh
|
||||
echo "Building CGRateS ..."
|
||||
|
||||
go install github.com/cgrates/cgrates/cmd/cgr-engine
|
||||
go install github.com/cgrates/cgrates/cmd/cgr-tester
|
||||
go install github.com/cgrates/cgrates/cmd/cgr-console
|
||||
go install github.com/cgrates/cgrates/cmd/cgr-loader
|
||||
GIT_LAST_LOG=$(git log -1 | tr -d "'")
|
||||
|
||||
|
||||
GIT_LAST_LOG=$(git log -1)
|
||||
go install -ldflags "-X 'github.com/cgrates/cgrates/utils.GitLastLog=$GIT_LAST_LOG'" github.com/cgrates/cgrates/cmd/cgr-engine
|
||||
cr=$?
|
||||
go install -ldflags "-X 'github.com/cgrates/cgrates/utils.GitLastLog=$GIT_LAST_LOG'" github.com/cgrates/cgrates/cmd/cgr-loader
|
||||
|
||||
Reference in New Issue
Block a user