mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-11-24 12:14:05 +03:00
f4d5241b37
* chore: cleanup unnecessary scripts and files - Removed `.cargo/config` and `__TAURI_WORKSPACE__` workaround - Removed husky and precommit hooks - Remove unecessary script files - Moved `.scripts/covector/sync-cli-metadata.js` to `.scripts/ci/sync-cli-metadata.js` - Moved `app-icon.png` to `.github/icon.png` - Enhanced has-diff.sh script to output which files are modified * lock file * bring back __TAURI_WORKSPACE__ * add change file --------- Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
16 lines
345 B
Bash
Executable File
16 lines
345 B
Bash
Executable File
#!/bin/bash
|
|
|
|
# Copyright 2019-2024 Tauri Programme within The Commons Conservancy
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
# SPDX-License-Identifier: MIT
|
|
|
|
git_output=$(git diff --ignore-submodules --name-only HEAD)
|
|
if [ -z "$git_output" ];
|
|
then
|
|
echo "✔ working directory is clean"
|
|
else
|
|
echo "✘ found diff:"
|
|
echo "$git_output"
|
|
exit 1
|
|
fi
|