Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Synchronet
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Main
Synchronet
Commits
c4b96eb7
Commit
c4b96eb7
authored
6 years ago
by
rswindell
Browse files
Options
Downloads
Patches
Plain Diff
3rdp Library files are (have been) part of the sbbs_dev archive for a while now.
parent
108b4e0c
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
exec/testbuild.js
+4
-20
4 additions, 20 deletions
exec/testbuild.js
with
4 additions
and
20 deletions
exec/testbuild.js
+
4
−
20
View file @
c4b96eb7
...
...
@@ -31,23 +31,17 @@ var make = (platform=="win32" ? "make":"gmake");
var
build_output
=
"
build_output.txt
"
;
var
archive
;
var
archive_cmd
;
var
lib
;
var
lib_cmd
;
var
lib_alias
=
"
lib
"
;
var
cleanup
;
if
(
platform
==
"
win32
"
)
{
archive
=
"
sbbs_src.zip
"
;
archive_cmd
=
"
pkzip25 -exclude=*output.txt -add -dir -max
"
+
archive
;
lib
=
"
lib-win32.zip
"
;
lib_cmd
=
"
pkzip25 -exclude=*output.txt -add -dir -max ../
"
+
lib
;
cleanup
=
"
rmdir /s /q
"
;
lib_alias
=
"
lib-win32
"
;
}
else
{
archive
=
"
sbbs_src.tgz
"
;
archive_cmd
=
"
tar --exclude=*output.txt -czvf
"
+
archive
+
"
*
"
;
lib
=
"
lib-
"
+
platform
+
"
.tgz
"
;
lib_cmd
=
"
tar --exclude=*output.txt -czvf ../
"
+
lib
+
"
*
"
;
cleanup
=
"
rm -r -f
"
}
...
...
@@ -56,12 +50,12 @@ var builds
[
""
,
"
cvs co src-sbbs3
"
,
"
2>
"
+
build_output
],
[
""
,
"
cvs co
"
+
lib_alias
,
"
2>
"
+
build_output
],
[
""
,
archive_cmd
,
"
2>
"
+
build_output
],
[
"
3rdp
"
,
lib_cmd
,
"
2>
"
+
build_output
],
//
["3rdp" ,lib_cmd ,"2> " + build_output],
];
/* Platform-specific (or non-ported) projects */
if
(
platform
==
"
win32
"
)
{
/* Requires Visual C++ 201
0
*/
/* Requires Visual C++ 201
3
*/
builds
.
push
([
"
src/sbbs3
"
,
'
build.bat /v:m "/p:Configuration=Release"
'
,
"
>
"
+
build_output
]);
/* Requires C++Builder */
...
...
@@ -75,10 +69,6 @@ if(platform=="win32") {
,
"
>
"
+
build_output
]);
}
else
{
/* Unix */
builds
.
push
([
"
src/sbbs3
"
,
"
gmake RELEASE=1
"
,
"
2>
"
+
build_output
]);
builds
.
push
([
"
src/sbbs3/scfg
"
,
"
gmake RELEASE=1
"
,
"
2>
"
+
build_output
]);
builds
.
push
([
"
src/sbbs3/install
"
,
"
gmake
"
,
"
2>
"
+
build_output
]);
builds
.
push
([
"
src/sbbs3/umonitor
"
,
"
gmake RELEASE=1
"
,
"
2>
"
+
build_output
]);
builds
.
push
([
"
src/sbbs3/uedit
"
,
"
gmake RELEASE=1
"
,
"
2>
"
+
build_output
]);
}
var
win32_dist
...
...
@@ -125,8 +115,7 @@ if(file.open("wt")) {
file
.
writeln
(
system_description
);
file
.
writeln
();
file
.
writeln
(
"
For more details, see http://wiki.synchro.net/dev:source
"
);
if
(
platform
!=
"
win32
"
)
file
.
writeln
(
"
and http://wiki.synchro.net/install:nix
"
);
file
.
writeln
(
"
and http://wiki.synchro.net/install:dev
"
);
file
.
close
();
}
...
...
@@ -147,7 +136,7 @@ for(i in builds) {
var
build_dir
=
temp_dir
+
"
/
"
+
sub_dir
;
var
subject
=
system
.
platform
+
"
build failure in
"
+
sub_dir
;
log
(
LOG_DEBUG
,
"
Build
"
+
i
+
"
of
"
+
builds
.
length
);
log
(
LOG_DEBUG
,
"
Build
"
+
i
+
1
+
"
of
"
+
builds
.
length
);
if
(
sub_dir
.
length
)
log
(
LOG_INFO
,
"
Build sub-directory:
"
+
sub_dir
);
if
(
!
chdir
(
build_dir
))
{
...
...
@@ -195,11 +184,6 @@ log(LOG_INFO,format("Copying %s to %s",archive,dest));
if
(
!
file_copy
(
archive
,
dest
))
log
(
LOG_ERR
,
format
(
"
!ERROR copying %s to %s
"
,
archive
,
dest
));
dest
=
file_area
.
dir
[
"
sbbs
"
].
path
+
lib
;
log
(
LOG_INFO
,
format
(
"
Copying %s to %s
"
,
lib
,
dest
));
if
(
!
file_copy
(
lib
,
dest
))
log
(
LOG_ERR
,
format
(
"
!ERROR copying %s to %s
"
,
lib
,
dest
));
var
file
=
new
File
(
"
README.TXT
"
);
if
(
file
.
open
(
"
wt
"
))
{
file
.
writeln
(
format
(
"
Synchronet-%s (%s) Version 3 Development Executable Archive (%s)
\n
"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment