Skip to content

GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.

chore: rename `tmp` dir -> `out`

Lars Berger74ae75620639
diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml
index 6f4996dc..cdbd37f1 100644
--- a/.github/workflows/build.yaml
+++ b/.github/workflows/build.yaml
@@ -34,24 +34,24 @@ jobs:
shared-key: ${{ matrix.rust-target }}-${{ hashFiles('Cargo.lock') }}
- name: Create output directories
- run: mkdir tmp/noconsole tmp/console
+ run: mkdir out/noconsole out/console
- name: Build (windows subsystem)
env:
VERSION_NUMBER: ${{ inputs.version-number || '0.0.0' }}
run: |
cargo build --locked --release --target ${{ matrix.rust-target }} --features no_console
- mv target/${{ matrix.rust-target }}/release/{wm,watcher}.exe tmp/noconsole
+ mv target/${{ matrix.rust-target }}/release/{wm,watcher}.exe out/noconsole
- name: Build (console subsystem)
env:
VERSION_NUMBER: ${{ inputs.version-number || '0.0.0' }}
run: |
cargo build --locked --release --target ${{ matrix.rust-target }}
- mv target/${{ matrix.rust-target }}/release/{wm,watcher}.exe tmp/console
+ mv target/${{ matrix.rust-target }}/release/{wm,watcher}.exe out/console
- uses: actions/upload-artifact@v4
with:
name: executables-${{ matrix.rust-target }}
if-no-files-found: error
- path: tmp/**
+ path: out/**
diff --git a/.github/workflows/package.yaml b/.github/workflows/package.yaml
index 42108a3c..38e153e3 100644
--- a/.github/workflows/package.yaml
+++ b/.github/workflows/package.yaml
@@ -23,13 +23,13 @@ jobs:
uses: actions/download-artifact@v4
with:
name: executables-*
- path: tmp/
+ path: out/
- name: Download Zebar installers
run: |
$latestRelease = 'https://api.github.com/repos/glzr-io/zebar/releases/latest'
$latestInstallers = Invoke-RestMethod $latestRelease | % assets | ? name -like "*.msi"
- $latestInstallers | % { Invoke-WebRequest $_.browser_download_url -OutFile (Join-Path "tmp" $_.name) }
+ $latestInstallers | % { Invoke-WebRequest $_.browser_download_url -OutFile (Join-Path "out" $_.name) }
- name: Install WiX and its extensions
run: |
@@ -39,23 +39,23 @@ jobs:
- name: Create MSI installer (x64)
run: |
wix build -arch "x64" -ext WixToolset.UI.wixext -ext WixToolset.Util.wixext \
- -out "./tmp/installer-x64.msi" "./resources/wix/standalone.wxs" "./resources/wix/standalone-ui.wxs" \
+ -out "./out/installer-x64.msi" "./resources/wix/standalone.wxs" "./resources/wix/standalone-ui.wxs" \
-d VERSION_NUMBER="${{ needs.next-version.outputs.new-release-version }}"
- name: Create MSI installer (arm64)
run: |
wix build -arch "arm64" -ext WixToolset.UI.wixext -ext WixToolset.Util.wixext \
- -out "./tmp/installer-arm64.msi" "./resources/wix/standalone.wxs" "./resources/wix/standalone-ui.wxs" \
+ -out "./out/installer-arm64.msi" "./resources/wix/standalone.wxs" "./resources/wix/standalone-ui.wxs" \
-d VERSION_NUMBER="${{ needs.next-version.outputs.new-release-version }}"
- name: Create universal installer
run: |
wix build -arch "x64" -ext WixToolset.BootstrapperApplications.wixext \
- -out "./tmp/installer-universal.exe" "./resources/wix/bundle.wxs" \
+ -out "./out/installer-universal.exe" "./resources/wix/bundle.wxs" \
-d VERSION_NUMBER="${{ needs.next-version.outputs.new-release-version }}"
- uses: actions/upload-artifact@v4
with:
name: installers
if-no-files-found: error
- path: tmp/installer-*
+ path: out/installer-*
diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml
index b704d932..379f38cb 100644
--- a/.github/workflows/release.yaml
+++ b/.github/workflows/release.yaml
@@ -32,7 +32,7 @@ jobs:
uses: actions/download-artifact@v4
with:
name: installers
- path: tmp/
+ path: out/
- name: Semantic release
uses: glzr-io/actions/semantic-release@main
@@ -43,17 +43,17 @@ jobs:
gh-assets: |
[
{
- "path": "tmp/installer-universal",
+ "path": "out/installer-universal",
"name": "glazewm-${nextRelease.gitTag}",
"label": "${nextRelease.gitTag} Installer (recommended)"
},
{
- "path": "tmp/installer-x64",
+ "path": "out/installer-x64",
"name": "glazewm-x64-${nextRelease.gitTag}",
"label": "${nextRelease.gitTag} Installer (standalone x64)"
},
{
- "path": "tmp/installer-arm64",
+ "path": "out/installer-arm64",
"name": "glazewm-arm64-${nextRelease.gitTag}",
"label": "${nextRelease.gitTag} Installer (standalone arm64)"
}
diff --git a/.gitignore b/.gitignore
index 009625bd..63c13a6e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,15 +1,15 @@
-# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
-
-# Build outputs
-target/
-tmp/
-
-# Misc
-.DS_Store
-*.pem
-*.env
-.wix/
-
-# IDE files
-.vs/
-.idea/
+# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
+
+# Build outputs
+target/
+out/
+
+# Misc
+.DS_Store
+*.pem
+*.env
+.wix/
+
+# IDE files
+.vs/
+.idea/
diff --git a/resources/wix/bundle.wxs b/resources/wix/bundle.wxs
index bec6e145..499fc006 100644
--- a/resources/wix/bundle.wxs
+++ b/resources/wix/bundle.wxs
@@ -25,7 +25,7 @@
<!-- GlazeWM MSI for x64 architectures. -->
<MsiPackage
Id="Custom_GlazeWMPackageX64"
- SourceFile="tmp/installer-x64.msi"
+ SourceFile="out/installer-x64.msi"
InstallCondition="(VersionNT64 AND NOT NativeMachine) OR (NativeMachine = 34404)"
bal:DisplayInternalUICondition="1"
Permanent="yes"
@@ -34,7 +34,7 @@
<!-- GlazeWM MSI for arm64 architectures. -->
<MsiPackage
Id="Custom_GlazeWMPackageArm64"
- SourceFile="tmp/installer-arm64.msi"
+ SourceFile="out/installer-arm64.msi"
InstallCondition="NativeMachine = 43620"
bal:DisplayInternalUICondition="1"
Permanent="yes"
@@ -43,7 +43,7 @@
<!-- Zebar MSI for x64 architectures. -->
<MsiPackage
Id="Custom_ZebarPackageX64"
- SourceFile="tmp/zebar-aaa-x64.msi"
+ SourceFile="out/zebar-aaa-x64.msi"
InstallCondition="(VersionNT64 AND NOT NativeMachine) OR (NativeMachine = 34404) AND (Custom_InstallZebar = 1)"
bal:DisplayInternalUICondition="1"
Permanent="yes"
@@ -52,7 +52,7 @@
<!-- Zebar MSI for arm64 architectures. -->
<MsiPackage
Id="Custom_ZebarPackageArm64"
- SourceFile="tmp/zebar-aaa-arm64.msi"
+ SourceFile="out/zebar-aaa-arm64.msi"
InstallCondition="(NativeMachine = 43620) AND (Custom_InstallZebar = 1)"
bal:DisplayInternalUICondition="1"
Permanent="yes"