Skip to content

Commit

Permalink
Add room for Windows path for client settings
Browse files Browse the repository at this point in the history
  • Loading branch information
vocksel committed Apr 16, 2024
1 parent 16bb539 commit 80aa505
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions justfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@ tmpdir := `mktemp -d`
global_defs_path := tmpdir / "globalTypes.d.lua"
sourcemap_path := tmpdir / "sourcemap.json"

client_settings := "/Applications/RobloxStudio.app/Contents/MacOS/ClientSettings"
# FIXME: Add path for Windows
client_settings := if os_family() == "unix" {
"/Applications/RobloxStudio.app/Contents/MacOS/ClientSettings"
} else {
""
}

_lint-file-extensions:
#!/usr/bin/env bash
Expand All @@ -35,7 +40,7 @@ default:
wally-install:
wally install
rojo sourcemap {{ tests_project }} -o {{ sourcemap_path }}
wally-package-types --sourcemap {{ sourcemap_path }} {{ packages_dir }}
wally-package-types --sourcemap {{ sourcemap_path }} {{ absolute_path(packages_dir) }}

init:
foreman install
Expand Down

0 comments on commit 80aa505

Please sign in to comment.