Fuck you Tim Apple
This commit is contained in:
parent
475d6707e3
commit
b5d5f472ba
17 changed files with 29 additions and 34 deletions
|
@ -17,6 +17,8 @@ This is my personal website!
|
||||||
4. Run ```go install github.com/cosmtrek/air@latest``` to download Air for live reload
|
4. Run ```go install github.com/cosmtrek/air@latest``` to download Air for live reload
|
||||||
5. Run ```air``` to start the dev server
|
5. Run ```air``` to start the dev server
|
||||||
|
|
||||||
|
_Note that on MacOS, you need to right click and open the appropriate tailwind executable before you can run StyleGen. This is a limitation of running unsigned binaries in MacOS. Blame Tim Apple._
|
||||||
|
|
||||||
## Tests
|
## Tests
|
||||||
Without Coverage: `go test atri.dad/lib`
|
Without Coverage: `go test atri.dad/lib`
|
||||||
With Coverage: `go test atri.dad/lib -cover`
|
With Coverage: `go test atri.dad/lib -cover`
|
||||||
|
|
|
@ -20,32 +20,25 @@ case $OS in
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# For macOS, we use a single binary called 'macos'
|
case $ARCH in
|
||||||
if [ "$OS" = "macos" ]; then
|
"x86_64")
|
||||||
BINARY="./tw/macos"
|
ARCH="x64"
|
||||||
|
;;
|
||||||
|
"arm64")
|
||||||
|
ARCH="arm64"
|
||||||
|
;;
|
||||||
|
*)
|
||||||
|
echo "Unsupported architecture: $ARCH"
|
||||||
|
exit 1
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
# Construct the binary file name
|
||||||
|
BINARY="./tw/${OS}-${ARCH}"
|
||||||
|
if [ "$OS" = "windows" ]; then
|
||||||
|
BINARY="${BINARY}.exe"
|
||||||
|
else
|
||||||
# Set execute permissions on the binary
|
# Set execute permissions on the binary
|
||||||
chmod +x $BINARY
|
chmod +x $BINARY
|
||||||
else
|
|
||||||
case $ARCH in
|
|
||||||
"x86_64")
|
|
||||||
ARCH="x64"
|
|
||||||
;;
|
|
||||||
"arm64")
|
|
||||||
ARCH="arm64"
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo "Unsupported architecture: $ARCH"
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
# Construct the binary file name
|
|
||||||
BINARY="./tw/${OS}-${ARCH}"
|
|
||||||
if [ "$OS" = "windows" ]; then
|
|
||||||
BINARY="${BINARY}.exe"
|
|
||||||
else
|
|
||||||
# Set execute permissions on the binary
|
|
||||||
chmod +x $BINARY
|
|
||||||
fi
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo $BINARY
|
echo $BINARY
|
||||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2
public/css/styles.blog.css
vendored
2
public/css/styles.blog.css
vendored
File diff suppressed because one or more lines are too long
2
public/css/styles.example.css
vendored
2
public/css/styles.example.css
vendored
File diff suppressed because one or more lines are too long
2
public/css/styles.home.css
vendored
2
public/css/styles.home.css
vendored
File diff suppressed because one or more lines are too long
2
public/css/styles.post.css
vendored
2
public/css/styles.post.css
vendored
File diff suppressed because one or more lines are too long
2
public/css/styles.projects.css
vendored
2
public/css/styles.projects.css
vendored
File diff suppressed because one or more lines are too long
2
public/css/styles.talks.css
vendored
2
public/css/styles.talks.css
vendored
File diff suppressed because one or more lines are too long
2
public/css/styles.testimonials.css
vendored
2
public/css/styles.testimonials.css
vendored
File diff suppressed because one or more lines are too long
2
public/css/styles.tools.css
vendored
2
public/css/styles.tools.css
vendored
File diff suppressed because one or more lines are too long
2
public/css/styles.tools.resize.css
vendored
2
public/css/styles.tools.resize.css
vendored
File diff suppressed because one or more lines are too long
2
public/css/styles.tools.ssedemo.css
vendored
2
public/css/styles.tools.ssedemo.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Add table
Reference in a new issue