Skip to content

Commit

Permalink
chore: eclint stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
zaucy committed May 17, 2024
1 parent 9de3388 commit d6dac75
Show file tree
Hide file tree
Showing 12 changed files with 370 additions and 372 deletions.
12 changes: 6 additions & 6 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
root = true

[*]
end_of_line = lf
insert_final_newline = true

root = true

[*]
end_of_line = lf
insert_final_newline = true

84 changes: 42 additions & 42 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,42 +1,42 @@
name: release

on:
release:
types: [published]

jobs:
release-linux-x64-binary:
runs-on: ubuntu-latest
steps:
- uses: actions/cache@v4
with:
path: |
~/.cache/bazelisk
~/.cache/bazel-disk-cache
key: ${{runner.os}}-bazel-cache
- uses: actions/checkout@v4
- run: 'bazel build --config=ci //:ecsact_cli'
- run: 'cp ./bazel-bin/ecsact/cli/ecsact ecsact_${{ github.ref_name }}_linux_x64'
- run: 'gh release upload ${{ github.ref_name }} ecsact_${{ github.ref_name }}_linux_x64'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OWNER: ${{ github.repository_owner }}
REPO: ${{ github.event.repository.name }}

release-windows-x64-binary:
runs-on: windows-latest
steps:
- uses: actions/cache@v4
with:
path: |
/Users/runneradmin/AppData/Local/bazelisk
/Users/runneradmin/.cache/bazel-disk-cache
key: ${{runner.os}}-bazel-cache
- uses: actions/checkout@v4
- run: 'bazel build --config=ci //:ecsact_cli'
- run: 'Copy-Item .\bazel-bin\ecsact\cli\ecsact.exe -Destination .\ecsact_${{ github.ref_name }}_windows_x64.exe'
- run: 'gh release upload ${{ github.ref_name }} ./ecsact_${{ github.ref_name }}_windows_x64.exe'
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OWNER: ${{ github.repository_owner }}
REPO: ${{ github.event.repository.name }}
name: release

on:
release:
types: [published]

jobs:
release-linux-x64-binary:
runs-on: ubuntu-latest
steps:
- uses: actions/cache@v4
with:
path: |
~/.cache/bazelisk
~/.cache/bazel-disk-cache
key: ${{runner.os}}-bazel-cache
- uses: actions/checkout@v4
- run: "bazel build --config=ci //:ecsact_cli"
- run: "cp ./bazel-bin/ecsact/cli/ecsact ecsact_${{ github.ref_name }}_linux_x64"
- run: "gh release upload ${{ github.ref_name }} ecsact_${{ github.ref_name }}_linux_x64"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OWNER: ${{ github.repository_owner }}
REPO: ${{ github.event.repository.name }}

release-windows-x64-binary:
runs-on: windows-latest
steps:
- uses: actions/cache@v4
with:
path: |
/Users/runneradmin/AppData/Local/bazelisk
/Users/runneradmin/.cache/bazel-disk-cache
key: ${{runner.os}}-bazel-cache
- uses: actions/checkout@v4
- run: "bazel build --config=ci //:ecsact_cli"
- run: 'Copy-Item .\bazel-bin\ecsact\cli\ecsact.exe -Destination .\ecsact_${{ github.ref_name }}_windows_x64.exe'
- run: "gh release upload ${{ github.ref_name }} ./ecsact_${{ github.ref_name }}_windows_x64.exe"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
OWNER: ${{ github.repository_owner }}
REPO: ${{ github.event.repository.name }}
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,4 +174,4 @@ All notable changes to this project will be documented in this file. See [conven

- - -

Changelog generated by [cocogitto](https://github.com/cocogitto/cocogitto).
Changelog generated by [cocogitto](https://github.com/cocogitto/cocogitto).
32 changes: 16 additions & 16 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<p align="center">
<img src="https://ecsact.dev/external/ecsact_logo/ecsact-color.png" width="300" />
</p>

# Ecsact CLI

The Ecsact CLI is _the_ utility for the following:

* Code generation frontend
* Benchmark utility
* Config details about Ecsact SDK installation and builtins

## Install

Ecsact CLI ships with the Ecsact SDK. [ecsact.dev/start](https://ecsact.dev/start)

<p align="center">
<img src="https://ecsact.dev/external/ecsact_logo/ecsact-color.png" width="300" />
</p>

# Ecsact CLI

The Ecsact CLI is _the_ utility for the following:

* Code generation frontend
* Benchmark utility
* Config details about Ecsact SDK installation and builtins

## Install

Ecsact CLI ships with the Ecsact SDK. [ecsact.dev/start](https://ecsact.dev/start)

2 changes: 1 addition & 1 deletion bazel/tools/cc_stamp_header_generator.cc
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,4 @@ int main(int argc, char* argv[]) {
}

return 0;
}
}
11 changes: 5 additions & 6 deletions bazel/tools/wsc.cmd
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
@echo off

@rem This is a mock value for the ecsact_cli repository. This gets set inside
@rem the ecsact_sdk repository.
echo STABLE_ECSACT_SDK_VERSION none

@echo off

@rem This is a mock value for the ecsact_cli repository. This gets set inside
@rem the ecsact_sdk repository.
echo STABLE_ECSACT_SDK_VERSION none
1 change: 0 additions & 1 deletion bazel/tools/wsc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ set -e
# This is a mock value for the ecsact_cli repository. This gets set inside the
# ecsact_sdk repository.
echo "STABLE_ECSACT_SDK_VERSION none"

Loading

0 comments on commit d6dac75

Please sign in to comment.