Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installer: add case for ash shell on alpine linux #384

Closed
wants to merge 43 commits into from
Closed
Changes from all commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
3563450
add install case for ash
eschaefer Apr 24, 2024
d047af3
test
eschaefer Apr 24, 2024
2bff9a2
syntax
eschaefer Apr 24, 2024
808654c
message
eschaefer Apr 24, 2024
af60707
fix error
eschaefer Apr 24, 2024
1d581e2
reverse
eschaefer Apr 24, 2024
4513a97
Another try
eschaefer Apr 24, 2024
c7e27b7
another test
eschaefer Apr 24, 2024
53491ee
Merge branch 'dev' of https://github.com/sst/ion into dev
eschaefer May 2, 2024
1663dce
disable linting on codegenerated files
thdxr May 2, 2024
c2df54b
example updates
thdxr May 2, 2024
8167843
AppSync
fwang May 2, 2024
8104023
handle bad cloudflare token
thdxr May 2, 2024
3798a1d
longer role credentials for sst dev
thdxr May 2, 2024
a2971ba
Docs Svelte quick start
jayair May 2, 2024
80dc0e4
Docs typo
jayair May 2, 2024
e0f0665
ApiGatewayWebSocket
fwang May 3, 2024
607be95
fix typo in docs->linking (#335)
zohaibakber May 3, 2024
40ed8f9
fix: typos (#356)
0xcadams May 3, 2024
18fa014
Docs drizzle
jayair May 4, 2024
40fdea4
Adopt internal component design
fwang May 4, 2024
342f0e3
Service: linkable
fwang May 4, 2024
e98bdf4
bad decision
thdxr May 5, 2024
13b2aa0
docs: aws-swift typos (#364)
LukasMurdock May 6, 2024
14c953e
aws-supabase-drizzle example
thdxr May 6, 2024
4066c6a
Docs api route defaults
jayair May 6, 2024
f53bd76
Docs types
jayair May 6, 2024
7db0101
Docs
jayair May 6, 2024
3ab7a3f
Docs sidebar styles
jayair May 6, 2024
367ee5d
add Resource.App field
thdxr May 6, 2024
b3f833b
Docs drizzle quick start
jayair May 6, 2024
91e3d30
Docs removing draft
jayair May 6, 2024
1d9bb5e
docs(aws/static-site): minor typing issue (#343)
NamesMT May 6, 2024
5c63ca9
Docs html ents tsdoc
jayair May 6, 2024
865d14f
Docs removing html ents
jayair May 6, 2024
ebe12a0
esbuild update
thdxr May 7, 2024
cd74404
support cloudflare queue
thdxr May 7, 2024
513cc51
add provider lock concept
thdxr May 7, 2024
ef3783f
fix worker plaintext binding
thdxr May 7, 2024
40baf8a
install after upgrade to new sst version
thdxr May 7, 2024
006804f
fix type generation for cloudflare workers
thdxr May 7, 2024
cc19052
Merge branch 'dev' of https://github.com/sst/ion into dev
eschaefer May 7, 2024
1abbfee
don't change message
eschaefer May 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion install
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ download_and_install
add_to_path() {
local config_file=$1
local command=$2

if [[ -w $config_file ]]; then
echo -e "\n# sst" >> "$config_file"
echo "$command" >> "$config_file"
Expand All @@ -120,6 +120,9 @@ case $current_shell in
bash)
config_files="$HOME/.bashrc $HOME/.bash_profile $XDG_CONFIG_HOME/bash/.bashrc $XDG_CONFIG_HOME/bash/.bash_profile"
;;
ash)
config_files="$HOME/.ashrc $HOME/.profile /etc/profile"
;;
*)
# Default case if none of the above matches
config_files="$HOME/.bashrc $HOME/.bash_profile $XDG_CONFIG_HOME/bash/.bashrc $XDG_CONFIG_HOME/bash/.bash_profile"
Expand Down Expand Up @@ -150,6 +153,9 @@ if [[ ":$PATH:" != *":$INSTALL_DIR:"* ]]; then
bash)
add_to_path "$config_file" "export PATH=$INSTALL_DIR:\$PATH"
;;
ash)
add_to_path "$config_file" "export PATH=$INSTALL_DIR:\$PATH"
;;
*)
print_message warning "Manually add the directory to $config_file (or similar):"
print_message info " export PATH=$INSTALL_DIR:\$PATH"
Expand Down