Skip to content

Commit

Permalink
[releng] fix building server
Browse files Browse the repository at this point in the history
  • Loading branch information
vladdu committed Apr 21, 2017
1 parent 890cb99 commit 1bd5ad2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -123,8 +123,8 @@ def buildEclipse() {
}

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

@NonCPS
Expand Down
3 changes: 3 additions & 0 deletions ide/build
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,7 @@ source ../build_utils.sh
dir=`pwd`
prj=`basename $dir`

export LOCALDEP_DIR=`pwd`
export REBAR_COLOR="low"

build_project ../rebar3 $prj 19 "$@"
2 changes: 1 addition & 1 deletion ide/rebar.config
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
]}.

{deps, [
{erlide_common, {localdep, "common/apps/erlide_common"}},
{erlide_common, {localdep, "../common/apps/erlide_common"}},
{jsx, ".*", {git, "https://github.com/talentdeficit/jsx.git", {branch, "v2.8.2"}}}
]}.

Expand Down
2 changes: 1 addition & 1 deletion ide/rebar.lock
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[{<<"erlide_common">>,{localdep,"common/apps/erlide_common"},0},
[{<<"erlide_common">>,{localdep,"../common/apps/erlide_common"},0},
{<<"jsx">>,
{git,"https://github.com/talentdeficit/jsx.git",
{ref,"d4b6d3dc5fd9e759ff7a0c476654ea5124f5bae9"}},
Expand Down

0 comments on commit 1bd5ad2

Please sign in to comment.