Skip to content

Commit

Permalink
Set executable permissions on unix binaries
Browse files Browse the repository at this point in the history
  • Loading branch information
sgb-io committed May 16, 2023
1 parent daac75a commit 3e8eab5
Show file tree
Hide file tree
Showing 7 changed files with 45 additions and 28 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,11 @@ jobs:
- name: Build aarch64-apple-darwin
run: cargo build --release --target=aarch64-apple-darwin

- name: Set permissions for macOS binaries
run: |
chmod +x target/x86_64-apple-darwin/release/fta
chmod +x target/aarch64-apple-darwin/release/fta
- name: Create tarballs
run: |
tar czvf x86_64-apple-darwin.tar.gz target/x86_64-apple-darwin/release/fta
Expand Down Expand Up @@ -202,6 +207,7 @@ jobs:
for TARGET in "${TARGETS[@]}"; do
echo "Building for $TARGET"
cargo build --release --target="$TARGET"
chmod +x target/${TARGET}/release/fta
tar czf "fta-${TARGET}.tar.gz" -C "./target/${TARGET}/release/" fta
done
Expand Down
17 changes: 13 additions & 4 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,24 @@
# v0.1.9

- Set +x permissions on macOS + linux binaries during build

# v0.1.8

- Added WASM npm module
- Refactored internals

# v0.1.7

Internal fixes for the NPM module
- Internal fixes for the NPM module

# v0.1.4

Added `--json` option
- Added `--json` option

# v0.1.3

Added npm package
- Added npm package

# v0.1.2

Initial release
- Initial release
36 changes: 18 additions & 18 deletions Cargo.lock

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

8 changes: 5 additions & 3 deletions MAINTENANCE.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
# Maintenance of FTA

This project currently consists of two primary components:
This project currently consists of 4 components:

- The Rust `fta` crate, in `crates/fta`
- The NPM `fta` package, in `packages/fta`
- The Rust `fta-wasm` crate, in `crates/fta-wasm`
- The NPM `fta-cli` package, in `packages/fta`
- The NPM `fta-wasm` package, an artefact of the `fta-wasm` Rust crate

The NPM package is a super thin layer that simply calls the relevant `fta` binary. For this to work, the NPM package is designed to contain pre-built binaries.
The NPM `fta-cli` package is a super thin layer that simply calls the relevant `fta` binary. For this to work, the NPM package is designed to contain pre-built binaries.

## Development

Expand Down
2 changes: 1 addition & 1 deletion crates/fta-wasm/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fta-wasm"
version = "0.1.8"
version = "0.1.9"
edition = "2021"

[lib]
Expand Down
2 changes: 1 addition & 1 deletion crates/fta/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "fta"
version = "0.1.8"
version = "0.1.9"
edition = "2021"
license = "MIT OR Apache-2.0"
description = "Fast TypeScript Analyzer"
Expand Down
2 changes: 1 addition & 1 deletion packages/fta/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "fta-cli",
"version": "0.1.7",
"version": "0.1.9",
"description": "FTA (Fast TypeScript Analyzer) is a super-fast TypeScript static analysis tool written in Rust",
"repository": "https://github.com/sgb-io/fta.git",
"author": "sgb-io <sam@sgb.io>",
Expand Down

0 comments on commit 3e8eab5

Please sign in to comment.