Skip to content

Commit 9a15e72

Browse files
committed
Add build scripts to function with the RISC OS build system.
The RISC OS build system can build most things, given a suitable set of scripts. Here we invoke the 'MkROBuild' command which will build things using the toolchain on the RISC OS build system. The artifacts generated are in the usual format, allowing users to copy the tool into their library as they see fit.
1 parent b0f1bc2 commit 9a15e72

File tree

4 files changed

+48
-0
lines changed

4 files changed

+48
-0
lines changed

.robuild.yaml

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
%YAML 1.0
2+
---
3+
4+
# RISC OS Build service build file
5+
# How to build manually on a non-RISC OS system:
6+
# rm -f /tmp/source-archive.zip ; zip -9r /tmp/source-archive.zip .robuild.yaml src LICENSE ; riscos-build-online -i /tmp/source-archive.zip -o /tmp/built and unzip -l /tmp/built,a91
7+
8+
# Defines a list of jobs which will be performed.
9+
# Only 1 job will currently be executed.
10+
jobs:
11+
build:
12+
# Env defines system variables which will be used within the environment.
13+
# Multiple variables may be assigned.
14+
env:
15+
"Sys$Environment": ROBuild
16+
"BUILD32": 1
17+
"Locale": UK
18+
19+
# Directory to change to before running script
20+
dir: src
21+
22+
# Commands which should be executed to perform the build.
23+
# The build will terminate if any command returns a non-0 return code or an error.
24+
script:
25+
- /MkROBuild
26+
27+
# Outputs from the build are defined in artifacts
28+
# These are a list of artifacts to report directories or files.
29+
# Only a single item is currently supported.
30+
artifacts:
31+
# Each element of the artifacts should have a path key, which gives the file or
32+
# directory to return.
33+
- path: Artifacts
File renamed without changes.

src/MkROBuild,feb

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
| Build on the RISC OS Build service
2+
3+
Dir <Obey$Dir>
4+
cdir ^.Artifacts
5+
cdir ^.Artifacts.Library
6+
cdir ^.Artifacts.Library.Internet
7+
amu -f MakeFileROBuild install INSTDIR=^.Artifacts.Library.Internet
8+
if "<Sys$ReturnCode>" <> 0 Then Error Failed to build
9+
10+
| Two LICENSE files are present, so must be supplied to the user.
11+
copy LICENSE ^.Artifacts.LICENSE/1 ~CVF
12+
copy ^.LICENSE ^.Artifacts.LICENSE/2 ~CVF

src/Resources/UK/Help

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
WakeOnLAN {Module_FullVersionAndDate}
2+
*WakeOnLAN is used to send a magic network packet to a machine to cause it to wake up. The remote machine must be configured to accept such network packets.
3+
Syntax: *WakeOnLAN -m <mac address> [ -b <broadcast address> ] [-v]

0 commit comments

Comments
 (0)