-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
15 changed files
with
93 additions
and
74 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
/target | ||
.packaging/homebrew/ssam.rb | ||
.packaging/homebrew/sam.rb | ||
.packaging/snap/snapcraft.yaml | ||
.packaging/snap/.snapcraft/snapcraft.cfg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
#!/bin/sh | ||
cd `git rev-parse --show-toplevel` | ||
cd .packaging/homebrew | ||
git clone [email protected]:r-zenine/homebrew-ssam.git | ||
cd homebrew-ssam | ||
git clone [email protected]:r-zenine/homebrew-sam.git | ||
cd homebrew-sam | ||
git config --global user.email "[email protected]" | ||
git config --global user.name "Ryad ZENINE" | ||
cp ../ssam.rb Formula/ssam.rb | ||
cp ../sam.rb Formula/sam.rb | ||
git add --all | ||
git commit -a -m"bump version" | ||
git push origin main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Documentation: https://docs.brew.sh/Formula-Cookbook | ||
# https://rubydoc.brew.sh/Formula | ||
# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST! | ||
class Sam < Formula | ||
desc "sam lets you difine custom aliases and search them using fuzzy search." | ||
homepage "https://github.com/r-zenine/sam" | ||
url "https://github.com/r-zenine/ssam/releases/download/v0.7.11/sam_macos_x86_64_v0.7.11.tar.gz" | ||
sha256 "" | ||
version "0.7.11" | ||
|
||
def install | ||
bin.install "sam" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,15 @@ | ||
#!/bin/sh | ||
# change directory to top root of git project. | ||
cd `git rev-parse --show-toplevel` | ||
export PROJECT="ssam" | ||
export PROJECT_URL="https://github.com/r-zenine/ssam" | ||
export PROJECT="sam" | ||
export PROJECT_URL="https://github.com/r-zenine/sam" | ||
export PROJECT_LICENCE="GPL-3.0" | ||
export PROJECT_DESCRIPTION="sam lets you difine custom aliases and search them using fuzzy search." | ||
export APP_VERSION=$(grep Cargo.toml -e "^version = " |sed 's/version \=//' |sed 's/\"//g'|sed 's/ //g') | ||
export ARCHIVE_PATH="./target/x86_64-apple-darwin/release/sam_macos_x86_64_v${APP_VERSION}.tar.gz" | ||
export RELEASE_HASH=$(sha256sum ${ARCHIVE_PATH}|cut -d\ -f1) | ||
|
||
envsubst < .packaging/homebrew/ssam.rb.j2 > .packaging/homebrew/ssam.rb | ||
envsubst < .packaging/homebrew/sam.rb.j2 > .packaging/homebrew/sam.rb | ||
envsubst < .packaging/snap/snapcraft.yaml.j2 > .packaging/snap/snapcraft.yaml | ||
|
||
./.packaging/homebrew/homebrew.sh && ./.packaging/snap/snap.sh |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters