-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Ensure Windows & Ubuntu compatibility.
- Loading branch information
Showing
8 changed files
with
333 additions
and
369 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
'@inkathon/contracts': minor | ||
'@inkathon/frontend': minor | ||
--- | ||
|
||
Ensure & document Windows, Ubuntu, and macOS compatibility. 🌈 |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
set -eu | ||
|
||
# The script creates an empty 'development.ts' file if it doesn't exist yet. | ||
# This is kind of a hack to prevent a nasty Next.js error when running the frontend | ||
# for the first time after deploying to a local node which forces to clear `frontend/.next`. | ||
|
||
if [[ ! -e deployments/greeter/development.ts ]]; then | ||
echo "Creating empty 'development.ts'…" | ||
if command -v touch &> /dev/null; then | ||
touch deployments/greeter/development.ts | ||
else | ||
copy /b deployments/greeter/development.ts +,, | ||
fi | ||
else | ||
echo "Great, 'development.ts' already exists! Skipping…" | ||
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
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,13 @@ | ||
#!/usr/bin/env bash | ||
set -eu | ||
|
||
# This script creates a default '.env.local' file if it doesn't exist yet. | ||
# More information about environment variables: https://github.com/scio-labs/inkathon#environment-variables | ||
|
||
if [[ ! -e .env.local ]]; then | ||
echo "Creating default '.env.local'…" | ||
CP_CMD=$(command -v cp &> /dev/null && echo "cp" || echo "copy") | ||
$CP_CMD .env.local.example .env.local | ||
else | ||
echo "Great, '.env.local' already exists! Skipping…" | ||
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
Oops, something went wrong.
c2cfbe4
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Successfully deployed to the following URLs:
inkathon-xyz – ./
inkathon.vercel.app
inkathon-xyz-scio-labs.vercel.app
inkathon.xyz
www.inkathon.xyz
inkathon-xyz-git-main-scio-labs.vercel.app