Skip to content

Commit 41b1001

Browse files
authored
Merge pull request #1 from Waradu/nightly
2 parents 79a76e9 + dc31365 commit 41b1001

File tree

2 files changed

+19
-26
lines changed

2 files changed

+19
-26
lines changed

.github/workflows/build.yml

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,15 @@ name: "Nightly Builds"
22

33
on:
44
push:
5-
branches: [ main ]
5+
branches: [main]
66
pull_request:
7-
branches: [ main ]
7+
branches: [main]
88
workflow_dispatch:
99
inputs:
1010
ref:
11-
description: 'Branch or tag to build'
11+
description: "Branch or tag to build"
1212
required: true
13-
default: 'main'
13+
default: "main"
1414
type: string
1515

1616
env:
@@ -71,15 +71,15 @@ jobs:
7171
Type=Application
7272
Categories=Development;
7373
EOF
74-
74+
7575
# Copy icon
7676
mkdir -p AppDir/usr/share/icons/hicolor/256x256/apps/
7777
cp .github/scope-round-200.png AppDir/usr/share/icons/hicolor/256x256/apps/scope.png
78-
78+
7979
# Copy binary
8080
mkdir -p AppDir/usr/bin
8181
cp target/release/scope AppDir/usr/bin/
82-
82+
8383
# Create AppImage
8484
wget -O linuxdeploy-x86_64.AppImage https://github.com/linuxdeploy/linuxdeploy/releases/download/continuous/linuxdeploy-x86_64.AppImage
8585
chmod +x linuxdeploy-x86_64.AppImage
@@ -205,7 +205,7 @@ jobs:
205205
mkdir -p Scope.app/Contents/{MacOS,Resources}
206206
cp target/x86_64-apple-darwin/release/scope Scope.app/Contents/MacOS/
207207
cp .github/scope-round-200.png Scope.app/Contents/Resources/scope.icns
208-
208+
209209
cat > Scope.app/Contents/Info.plist << EOF
210210
<?xml version="1.0" encoding="UTF-8"?>
211211
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
@@ -277,7 +277,7 @@ jobs:
277277
mkdir -p Scope.app/Contents/{MacOS,Resources}
278278
cp target/aarch64-apple-darwin/release/scope Scope.app/Contents/MacOS/
279279
cp .github/scope-round-200.png Scope.app/Contents/Resources/scope.icns
280-
280+
281281
cat > Scope.app/Contents/Info.plist << EOF
282282
<?xml version="1.0" encoding="UTF-8"?>
283283
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

README.md

Lines changed: 10 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<img width="128px" src="./.github/scope-round-200.png" />
44
<h1><b>Scope</b></h1>
55

6-
The discord client for power users.
6+
The Discord client for power users.
77
<br>
88
<a href="https://www.scopeclient.com/"><strong>scopeclient.com »</strong></a>
99

@@ -15,13 +15,13 @@ The discord client for power users.
1515
</tbody>
1616
</table>
1717

18-
<sup>Nightly releases can be found <a href="https://github.com/scopeclient/scope/actions/workflows/build.yml">here</a> </sup>
18+
<sup>Nightly releases can be found <a href="https://github.com/scopeclient/scope/actions/workflows/build.yml">here</a>. </sup>
1919

2020
</div>
2121

22-
###### Scope is in its earliest stages of development. This readme will be fleshed out as the project progresses
22+
###### Scope is in its earliest stages of development. This README will be fleshed out as the project progresses.
2323

24-
## Building
24+
## Building the Project
2525

2626
### Prerequisites
2727

@@ -33,14 +33,7 @@ The discord client for power users.
3333
2. Run `cargo build --release`
3434
3. The binary will be in `./target/release/scope`
3535

36-
### Environment
37-
38-
The binary presently requires the following environment variables to be set or in a `.env` file in the current working directory:
39-
40-
- `DISCORD_TOKEN` - your discord token
41-
- `DEMO_CHANNEL_ID` - the channel ID to listen for messages on
42-
43-
## Developing
36+
## Development Setup
4437

4538
### Prerequisites
4639

@@ -50,11 +43,11 @@ The binary presently requires the following environment variables to be set or i
5043

5144
1. Clone the repository
5245
2. Run `cargo run`
53-
- It's reccomended to use `cargo watch -- cargo run` from [cargo-watch](https://github.com/watchexec/cargo-watch), but it's in no way required
46+
- It's recommended to use `cargo watch -- cargo run` from [cargo-watch](https://github.com/watchexec/cargo-watch), but it's optional
5447

55-
### Environment
48+
## Environment Variables
5649

57-
The binary presently requires the following environment variables to be set or in a `.env` file in the current working directory:
50+
The binary requires the following environment variables to be set in the current working directory or in a `.env` file:
5851

59-
- `DISCORD_TOKEN` - your discord token
60-
- `DEMO_CHANNEL_ID` - the channel ID to listen for messages on
52+
- `DISCORD_TOKEN` - Your Discord token
53+
- `DEMO_CHANNEL_ID` - The channel ID to listen for messages on

0 commit comments

Comments
 (0)