Skip to content

Commit 2f5d3f2

Browse files
committed
Merge branch 'pu'
2 parents 1528fe0 + 3a64b30 commit 2f5d3f2

File tree

93 files changed

+5087
-353
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

93 files changed

+5087
-353
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 ide && ./build escriptize && cd .."
127-
step([$class: 'ArtifactArchiver', artifacts: "ide/_build/default/bin/erlide_ide", fingerprint: true])
126+
sh "cd server && ./build escriptize && cd .."
127+
step([$class: 'ArtifactArchiver', artifacts: "server/_build/default/bin/erlide_server", fingerprint: true])
128128
}
129129

130130
@NonCPS

build

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,22 @@ export REBAR_COLOR="low"
2525
#export QUIET=1
2626

2727
main() {
28-
arg=$1
28+
arg=${1:-compile}
2929

3030
setup_otp
3131
find . -name build | xargs chmod u+x
3232

33-
if [ "$arg" != "test" ]; then
34-
cmds="do clean -a, compile -v"
35-
else
36-
cmds="do eunit -c -v, cover -v"
37-
fi
33+
case "$arg" in
34+
"compile")
35+
cmds="do clean -a, compile -v"
36+
;;
37+
"test")
38+
cmds="do eunit -c -v, cover -v"
39+
;;
40+
"verify")
41+
cmds="do xref, dialyzer"
42+
;;
43+
esac
3844

3945
set -e
4046
cd common
@@ -43,6 +49,11 @@ main() {
4349
./build $cmds
4450
cd ../ide
4551
./build $cmds
52+
cd ../server
53+
./build $cmds
54+
if [ "$arg" == "compile" ] ; then
55+
./build escriptize
56+
fi
4657

4758
cd ..
4859
}

build.gradle

Lines changed: 0 additions & 257 deletions
This file was deleted.

build_utils.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#! /bin/bash -e
22

3-
declare -A OTP_VSNS=( ["17"]="17.5" ["18"]="18.3" ["19"]="19.3")
3+
declare -A OTP_VSNS=( ["17"]="17.5" ["18"]="18.3" ["19"]="19.3" ["20"]="20.0")
44

55
build_project() {
66
REBAR=$1
@@ -11,7 +11,7 @@ build_project() {
1111
shift
1212

1313
echo ""
14-
echo "Building $PRJ with OTP ${OTP_VSNS[$VSN]}..."
14+
echo "Building --$PRJ-- with OTP ${OTP_VSNS[$VSN]}..."
1515
~/erlide_tools/${OTP_VSNS[$VSN]}/bin/escript $REBAR "$@"
1616
}
1717

common/apps/erlide_builder/src/erlide_builder.erl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ compile_options(F, Options, OutputDir) ->
7171
format_compile_msg(L, Marker) when is_list(L) ->
7272
lists:flatten([format_compile_msg(X, Marker) || X <- L]);
7373
format_compile_msg({File, L}, Marker) ->
74-
[{Ln, File, iolist_to_binary(M:format_error(D)), Marker} || {Ln, M, D} <- L].
74+
[{Ln, File, unicode:characters_to_binary(lists:flatten(M:format_error(D))), Marker} || {Ln, M, D} <- L].
7575

7676
mk_includes(L) ->
7777
[{i, X} || X <- L].

debugger/build

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ cd ../erlide_debugger_18
66
./build "$@"
77
cd ../erlide_debugger_19
88
./build "$@"
9-
9+
cd ../erlide_debugger_20
10+
./build "$@"
1011
cd ../erlide_debugger
1112
./build "$@"
1213

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<projectDescription>
3+
<name>erlide_debugger_19</name>
4+
<comment></comment>
5+
<projects>
6+
<project>erlide_common</project>
7+
</projects>
8+
<buildSpec>
9+
<buildCommand>
10+
<name>org.erlide.core.erlbuilder</name>
11+
<arguments>
12+
</arguments>
13+
</buildCommand>
14+
</buildSpec>
15+
<natures>
16+
<nature>org.erlide.core.erlnature</nature>
17+
</natures>
18+
</projectDescription>
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
eclipse.preferences.version=1
2+
encoding/<project>=ISO-8859-1
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
backend_version=19.0
2+
compiler/warn_deprecated_function=true
3+
compiler/warn_export_all=true
4+
compiler/warn_export_vars=true
5+
compiler/warn_obsolete_guard=true
6+
compiler/warn_shadow_vars=true
7+
compiler/warn_unused_function=true
8+
compiler/warn_unused_import=true
9+
compiler/warn_unused_record=true
10+
compiler/warn_unused_vars=true
11+
eclipse.preferences.version=1
12+
external_includes=
13+
external_modules=
14+
include_dirs=include;
15+
output_dir=ebin
16+
source_dirs=src;
17+
use_pathz=false

0 commit comments

Comments
 (0)