Skip to content

Commit

Permalink
Rebrand as Lightning CSS ⚡️ (#261)
Browse files Browse the repository at this point in the history
  • Loading branch information
devongovett authored Sep 8, 2022
1 parent 4fd0b02 commit ef49cb8
Show file tree
Hide file tree
Showing 39 changed files with 259 additions and 259 deletions.
20 changes: 10 additions & 10 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@ jobs:
# Windows
- os: windows-latest
target: x86_64-pc-windows-msvc
binary: parcel_css.exe
binary: lightningcss.exe
# Mac OS
- os: macos-latest
target: x86_64-apple-darwin
strip: strip -x # Must use -x on macOS. This produces larger results on linux.
binary: parcel_css
binary: lightningcss

name: build-${{ matrix.target }}
runs-on: ${{ matrix.os }}
Expand Down Expand Up @@ -89,18 +89,18 @@ jobs:
export CFLAGS="-isysroot $SYSROOT -isystem $SYSROOT";
export MACOSX_DEPLOYMENT_TARGET="10.9";
cargo build --release --features cli --target aarch64-apple-darwin
mv target/aarch64-apple-darwin/release/parcel_css parcel_css
mv target/aarch64-apple-darwin/release/lightningcss lightningcss
env:
JEMALLOC_SYS_WITH_LG_PAGE: 14
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
run: strip -x *.node parcel_css
run: strip -x *.node lightningcss
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: bindings-aarch64-apple-darwin
path: |
*.node
parcel_css
lightningcss
build-linux:
strategy:
Expand Down Expand Up @@ -159,17 +159,17 @@ jobs:
- name: Build CLI
run: |
cargo build --release --features cli --target ${{ matrix.target }}
mv target/${{ matrix.target }}/release/parcel_css parcel_css
mv target/${{ matrix.target }}/release/lightningcss lightningcss
- name: Strip debug symbols # https://github.com/rust-lang/rust/issues/46034
if: ${{ matrix.strip }}
run: ${{ matrix.strip }} *.node parcel_css
run: ${{ matrix.strip }} *.node lightningcss
- name: Upload artifacts
uses: actions/upload-artifact@v2
with:
name: bindings-${{ matrix.target }}
path: |
*.node
parcel_css
lightningcss
build-wasm:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -220,10 +220,10 @@ jobs:
cd ../..;
done
cd cli
echo "Publishing @parcel/css-cli...";
echo "Publishing lightningcss-cli...";
npm publish
cd ..
echo "Publishing @parcel/css...";
echo "Publishing lightningcss...";
npm publish
release-crates:
Expand Down
114 changes: 57 additions & 57 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,21 @@ members = [

[package]
authors = ["Devon Govett <[email protected]>"]
name = "parcel_css"
name = "lightningcss"
version = "1.0.0-alpha.32"
description = "A CSS parser, transformer, and minifier"
license = "MPL-2.0"
edition = "2021"
keywords = [ "CSS", "minifier", "Parcel" ]
repository = "https://github.com/parcel-bundler/parcel-css"
repository = "https://github.com/parcel-bundler/lightningcss"

[[bin]]
name = "parcel_css"
name = "lightningcss"
path = "src/main.rs"
required-features = ["cli"]

[lib]
name = "parcel_css"
name = "lightningcss"
path = "src/lib.rs"
crate-type = ["rlib"]

Expand Down
Loading

0 comments on commit ef49cb8

Please sign in to comment.