Skip to content

Commit

Permalink
Repo improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
1ForeverHD committed Mar 28, 2024
2 parents 6c65936 + 6917ab3 commit 1530bee
Show file tree
Hide file tree
Showing 11 changed files with 105 additions and 25 deletions.
22 changes: 7 additions & 15 deletions .github/workflows/BuildRelease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,33 +3,25 @@ name: Build and Release
on:
push:
tags:
- 'v*'
- "v*"

jobs:
build:
name: Create release
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2

- name: Setup foreman
uses: rojo-rbx/setup-foreman@v2
with:
token: ${{ secrets.GITHUB_TOKEN }}
uses: actions/checkout@v4

- uses: ok-nick/[email protected]

- name: Build asset
run: rojo build src/default.project.json --output Icon.rbxm
run: rojo build --output Icon.rbxm withLink.project.json

- name: Git Release
uses: anton-yurchenko/git-release@v3.4.3
uses: anton-yurchenko/git-release@v6
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
DRAFT_RELEASE: "false"
PRE_RELEASE: "false"
CHANGELOG_FILE: "docs/changelog.md"
ALLOW_EMPTY_CHANGELOG: "false"
ALLOW_TAG_PREFIX: "true"
with:
args: |
./Icon.rbxm
./Icon.rbxm
19 changes: 15 additions & 4 deletions .github/workflows/DeployDocs.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,26 @@
name: MkDocs Deploy

on:
push:
<<<<<<< HEAD
branches: # Act on master branch commit
- main
=======
branches: # Act on main branch commit
- main

>>>>>>> development
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-python@v2
- uses: actions/checkout@v4

- uses: actions/setup-python@v5
with:
python-version: 3.x
python-version: 3.9
cache: "pip"

- run: pip install mkdocs-material
- run: mkdocs gh-deploy --force

- run: mkdocs gh-deploy --force
19 changes: 19 additions & 0 deletions .github/workflows/PublishAssets.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: Publish To Roblox

on:
push:
branches: # Act on main branch commit
- main

jobs:
ci:
name: CI and Deployment
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4

- uses: ok-nick/[email protected]

- name: Publish to Wally
run: wally publish --token "${{ secrets.WALLY_AUTH }}"
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Project place file
/TopbarPlus.rbxlx
/Icon.rbxm

# macOS
.DS_Store

# Rojo
sourcemap.json

# Built documentation
/site

# Roblox Studio lock files
/*.rbxlx.lock
Expand Down
8 changes: 8 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"recommendations": [
"johnnymorganz.luau-lsp",
"evaera.vscode-rojo",
"kampfkarren.selene-vscode",
"johnnymorganz.stylua"
]
}
7 changes: 4 additions & 3 deletions aftman.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@

# To add a new tool, add an entry to this table.
[tools]
rojo = "rojo-rbx/[email protected]"
wally = "UpliftGames/[email protected]"
# rojo = "rojo-rbx/[email protected]"
rojo = "rojo-rbx/[email protected]"
selene = "Kampfkarren/[email protected]"
stylua = "JohnnyMorganz/[email protected]"
wally = "UpliftGames/[email protected]"
8 changes: 8 additions & 0 deletions rotriever.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
[package]
name = "TopbarPlus"
version = "3.0.0"
license = "MPL2"
authors = ["1ForeverHD"]
content_root = "src"

[dependencies]
1 change: 1 addition & 0 deletions selene.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
std = "roblox"
22 changes: 20 additions & 2 deletions wally.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,25 @@
[package]
name = "1foreverhd/topbarplus"
version = "0.1.0"
description = "Construct dynamic and intuitive topbar icons. Enhance the appearance and behaviour of these icons with features such as themes, dropdowns and menus."
license = "MPL2"
version = "3.0.0"
registry = "https://github.com/UpliftGames/wally-index"
realm = "shared"
exclude = [
".github",
".vscode",
"assets",
"docs",
"site",
".gitattributes",
".gitignore",
"aftman.toml",
"Icon.rbxm",
"mkdocs.yml",
"selene.toml",
"sourcemap.json",
"withLink.project.json",
"src/PackageLink.model.json",
]

[dependencies]
[dependencies]
6 changes: 6 additions & 0 deletions withLink.project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"name": "Icon",
"tree": {
"$path": "src"
}
}
7 changes: 7 additions & 0 deletions withoutLink.project.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"name": "Icon",
"globIgnorePaths": ["**/PackageLink.model.json"],
"tree": {
"$path": "src"
}
}

0 comments on commit 1530bee

Please sign in to comment.