Skip to content

Commit

Permalink
Use .dk/tools not .dkcoder
Browse files Browse the repository at this point in the history
Everything Dk related should go into one project folder so not pollute the project
  • Loading branch information
jonahbeckford committed Oct 25, 2024
1 parent 74efb0d commit 63d386b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGES.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
- Allow `DKML_HOST_ABI` environment variable to influence which ABI is downloaded in `./dk`.
- On Windows the data home is `%LOCALAPPDATA%\Programs\DkCoder`. Was previously a mix of `%LOCALAPPDATA%\Programs\DkSDK` and `%LOCALAPPDATA%\Programs\DkCoder`. You can delete `%LOCALAPPDATA%\Programs\DkSDK`.
- On Unix the data home is now `$XDG_DATA_HOME/dkcoder` or `$HOME/.local/share/dkcoder`. Was previously `$XDG_DATA_HOME/dksdk` or `$HOME/.local/share/dksdk`, both of which you can delete.
- On Unix when `CI=true` use `.dkcoder` subdirectory not `.tools`.
- On Unix when `CI=true` use `.dk/tools` subdirectory not `.tools`.
- On Windows and Unix allow DKCODER_DATA_HOME environment variable to override default locations.

## 0.4.0.2
Expand Down
4 changes: 2 additions & 2 deletions dk
Original file line number Diff line number Diff line change
Expand Up @@ -500,8 +500,8 @@ fi
# 2. Check if CI since many CI providers can only cache content in a subdirectory
# of the project.
if [ -z "$tools_dir" ] && [ "${CI:-}" = true ]; then
install -d "$PROJ_DIR/.dkcoder"
tools_dir="$PROJ_DIR/.dkcoder"
install -d "$PROJ_DIR/.dk/tools"
tools_dir="$PROJ_DIR/.dk/tools"
fi
# 3. Check in locations rooted under /opt/diskuv
# We look under a /opt/diskuv early because
Expand Down

0 comments on commit 63d386b

Please sign in to comment.