Skip to content

Commit

Permalink
chore: use simpler strategy for gitignoring misc. files
Browse files Browse the repository at this point in the history
  • Loading branch information
arcanemachine committed Sep 29, 2023
1 parent 0a203d8 commit fb82797
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 9 deletions.
11 changes: 5 additions & 6 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,4 @@
# misc
*.ignore
*.tmp
gitignore.*

# dotenv
# environment
.env

# elixir
Expand All @@ -16,6 +11,10 @@ __pycache__/
*.sw?
Session*.vim

# misc
*.tmp
*gitignored*


# MIX DEFAULTS #
# The directory Mix will write compiled artifacts to.
Expand Down
2 changes: 1 addition & 1 deletion assets/playwright.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default defineConfig({
forbidOnly: !!process.env.CI, // fail if `.only()` in tests during CI
globalSetup: "tests/e2e/support/setup/global.ts",
// globalTeardown: "tests/e2e/support/teardown.ts",
outputDir: "tests/e2e/support/test-results.ignore",
outputDir: "tests/e2e/support/test-results.gitignored",
retries: process.env.CI ? 2 : 0, // retry on CI only
reporter: "line",
testDir: "tests/e2e",
Expand Down
2 changes: 1 addition & 1 deletion support/scripts/systemd-container-service-file-generate
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ command_to_run="$(which docker-compose) ${maybe_podman_config} $containers_to_ru

if [ "$dry_run" != 1 ]; then
# create script for managing the container service manually (helps with debugging compose issues)
container_management_script="$working_directory/container-management-script.ignore"
container_management_script="$working_directory/container-management-script.gitignored"
printf "\033[96mCreating a container service management helper script: '%s'...\033[39m\n" "$container_management_script"
echo "cd $working_directory && $command_to_run \"\$@\"" >"$container_management_script"
chmod +x "$container_management_script"
Expand Down
2 changes: 1 addition & 1 deletion support/scripts/systemd-container-service-teardown
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ systemctl --user daemon-reload

# remove the container management script
echo "Removing the manual container management script..."
rm "$(dirname "$0")/../containers/container-management-script.ignore"
rm "$(dirname "$0")/../containers/container-management-script.gitignored"

0 comments on commit fb82797

Please sign in to comment.