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
#!/usr/bin/env zsh | |
if [[ $1 =~ "-help|-h" ]]; then | |
echo | |
echo "usage: ./install-rustup [version] [target]" | |
echo | |
exit | |
fi |
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
#!/usr/bin/env zsh | |
PROJECT="${1:-bevy_breakout_15}" | |
BEVY_VERSION="0.15.2" | |
echo "setting up $PROJECT ..." | |
cargo new $PROJECT --bin | |
cd $PROJECT |
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
[workspace.lints.clippy] | |
cargo = { priority = -1, level = "deny" } | |
correctness = { priority = -1, level = "deny" } | |
complexity = { priority = -1, level = "deny" } | |
nursery = { priority = -1, level = "deny" } | |
pedantic = { priority = -1, level = "deny" } | |
perf = { priority = -1, level = "deny" } | |
style = { priority = -1, level = "deny" } | |
suspicious = { priority = -1, level = "deny" } |
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
"$schema" = 'https://starship.rs/config-schema.json' | |
format = """ | |
[](color_orange)\ | |
$os\ | |
$username\ | |
[](bg:color_yellow fg:color_orange)\ | |
$directory\ | |
[](fg:color_yellow bg:color_aqua)\ | |
$git_branch\ |
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
# winget-updates.nu | |
# GitHub Gists | |
# this script - https://gist.github.com/Nejat/06c275749b7931857bb4c7604a026877 | |
# example skip config - https://gist.github.com/Nejat/5a41fe09bb27c1bbcf345fb1dea8a234 | |
# powersheel version - https://gist.github.com/Nejat/6cb42f098320cb2fcb57a4e1728ca29e | |
# output formatting constants | |
const err_color: string = 'light_red' | |
const fail_color: string = 'red' |
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
#!/bin/sh | |
set -eu | |
# if ! cargo fmt -- --check | |
# then | |
# echo "check/fix fmt issues ..." | |
# exit -1 | |
# fi |
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
Unity # use unity hub to manage versions of unitywinget | |
Citrix Workspace # need the installed version | |
Visual Studio Community* # use visual studio installer | |
PowerToys (Preview) # does not update correctly | |
Microsoft .NET SDK # does not update correctly | |
Microsoft Visual C++ # use visual studio installer | |
Windows Software Development Kit # use visual studio installer | |
JetBrains # use jetbrains toolbox |
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
param ( | |
# provide a list of addition bash setup commands to invoke | |
[string] $additional = "msys2-additional-setup", | |
# true teardown existing installations, false to stop if installation exists | |
[switch] $refresh = $false | |
) | |
# constant defining MSys2 winget package name | |
[string] $package = "MSys2" | |
# checks to see if an installaiton already exists |
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
pacman -S --needed base-devel mingw-w64-x86_64-toolchain | Development Toolchain | |
pacman -S --needed mingw-w64-x86_64-meson | Meson | |
pacman -S --needed mingw-w64-x86_64-vulkan-devel | Vulkan Development Tools | |
pacman -S --needed mingw-w64-x86_64-gtk3 | GTK3 Development Tools | |
pacman -S --needed mingw-w64-x86_64-gtk4 | GTK4 Development Tools | |
pacman -S --needed mingw-w64-x86_64-glade | GTK GLade Interface Designer |
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
param( | |
# provide a configuration file to define package handling | |
[string] $skipFile = "wngt-cfg", | |
# true to upgrade eligible packages, false dry run | |
[switch] $upgrade = $false | |
) | |
# adjust buffer size of output, really don't know if this helps ¯\_(ツ)_/¯ | |
if ($Host -and $Host.UI -and $Host.UI.RawUI) { | |
$rawUI = $Host.UI.RawUI |
NewerOlder