Skip to content

Commit 1bd5ad2

Browse files
committed
[releng] fix building server
1 parent 890cb99 commit 1bd5ad2

File tree

4 files changed

+7
-4
lines changed

4 files changed

+7
-4
lines changed

Jenkinsfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,8 +123,8 @@ def buildEclipse() {
123123
}
124124

125125
def buildServer() {
126-
sh "cd server && ./build && cd .."
127-
step([$class: 'ArtifactArchiver', artifacts: "server/erlide_ide", fingerprint: true])
126+
sh "cd ide && ./build escriptize && cd .."
127+
step([$class: 'ArtifactArchiver', artifacts: "ide/_build/default/bin/erlide_ide", fingerprint: true])
128128
}
129129

130130
@NonCPS

ide/build

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,4 +5,7 @@ source ../build_utils.sh
55
dir=`pwd`
66
prj=`basename $dir`
77

8+
export LOCALDEP_DIR=`pwd`
9+
export REBAR_COLOR="low"
10+
811
build_project ../rebar3 $prj 19 "$@"

ide/rebar.config

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
]}.
77

88
{deps, [
9-
{erlide_common, {localdep, "common/apps/erlide_common"}},
9+
{erlide_common, {localdep, "../common/apps/erlide_common"}},
1010
{jsx, ".*", {git, "https://github.com/talentdeficit/jsx.git", {branch, "v2.8.2"}}}
1111
]}.
1212

ide/rebar.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[{<<"erlide_common">>,{localdep,"common/apps/erlide_common"},0},
1+
[{<<"erlide_common">>,{localdep,"../common/apps/erlide_common"},0},
22
{<<"jsx">>,
33
{git,"https://github.com/talentdeficit/jsx.git",
44
{ref,"d4b6d3dc5fd9e759ff7a0c476654ea5124f5bae9"}},

0 commit comments

Comments
 (0)