mirror of
https://github.com/ivabus/pantry
synced 2024-11-10 02:25:18 +03:00
+tailwindcss.com (#5732)
* add tailwindcss * fix wrong project name * add vendored warning * add comment on tailwindcss vendored warning
This commit is contained in:
parent
892c4c6123
commit
b70f838748
33
projects/tailwindcss.com/package.yml
Normal file
33
projects/tailwindcss.com/package.yml
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
distributable: ~
|
||||||
|
|
||||||
|
# opted to use the pre-built binary from the official release instead of building from source to
|
||||||
|
# not require a nodejs runtime to run tailwindcss as otherwise it would. We could also try to
|
||||||
|
# reproduce their build process to build the self-contained binary ourselves in the future.
|
||||||
|
warnings:
|
||||||
|
- vendored
|
||||||
|
|
||||||
|
versions:
|
||||||
|
github: tailwindlabs/tailwindcss
|
||||||
|
strip: /^v/
|
||||||
|
|
||||||
|
build:
|
||||||
|
dependencies:
|
||||||
|
curl.se: "*"
|
||||||
|
working-directory: ${{prefix}}
|
||||||
|
script: |
|
||||||
|
curl -Lfo tailwindcss https://github.com/tailwindlabs/tailwindcss/releases/download/v{{version}}/tailwindcss-$PLATFORM
|
||||||
|
chmod +x tailwindcss
|
||||||
|
mkdir -p bin
|
||||||
|
mv tailwindcss bin
|
||||||
|
env:
|
||||||
|
darwin/aarch64: { PLATFORM: macos-arm64 }
|
||||||
|
darwin/x86-64: { PLATFORM: macos-x64 }
|
||||||
|
linux/aarch64: { PLATFORM: linux-arm64 }
|
||||||
|
linux/x86-64: { PLATFORM: linux-x64 }
|
||||||
|
|
||||||
|
provides:
|
||||||
|
- bin/tailwindcss
|
||||||
|
|
||||||
|
test:
|
||||||
|
script:
|
||||||
|
- tailwindcss --help | grep -q "tailwindcss v{{version}}"
|
Loading…
Reference in a new issue