Skip to content

Replace .kscript dir with OS specific dirs (#323) #374

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 13, 2022

Conversation

meztihn
Copy link

@meztihn meztihn commented Jul 16, 2022

Recreated PR since I can't change the source branch.
An unrelated note, since sdkman is recommended as a package manager: it works only with bash, but IDEA starts from sh by default. This leads to a problem with missing env variables for packages installed through sdkman (e.g. gradle, kotlin). Developers of sdkman won't do antyhing about it, so the easiest workaround is to edit idea.sh and change it's shebang from sh to bash. It's pretty sneaky problem and it's description could be useful somewhere in readme for contributors.

@meztihn meztihn mentioned this pull request Jul 16, 2022
@aartiPl
Copy link
Collaborator

aartiPl commented Jul 30, 2022

Hi @meztihn!
The patch looks really great - I basically can not find anything which could be improved.
Thanks a lot for your effort!

I will test the patch locally on my computer and merge it to the 4.1 branch very soon.

@aartiPl aartiPl merged commit 7e6967d into kscripting:kscript_4.1 Aug 13, 2022
aartiPl added a commit that referenced this pull request Aug 26, 2022
* Cleanup of env variables
* Fixed indentation and generation of Gradle files for IntelliJ
* Re-enabled idea tests
* Improved runConfiguration
* Support for idea project creation: correct handling for duplicated file names.
* IntelliJ support fixed
* Formatting of wrapper for scripts.
* Fix for OsType comparison logic (#357)
* build: installation tester
* build: update installer.yml
* build: added ability to start GitHub action build manually.
* bugfix: fix for OSTYPE linux-musl which is reported on Alpine Linux.
* make KOTLIN_HOME required
* feature: osHandler for operations outside of Java ecosystem
* feature: added nicer debug information
* refactor: split of config to smaller pieces
* test: split building and cleaning (faster builds for most cases)
* cleanup: overall cleanups
* feature: Migrated kscript to os independent paths (OsPath)
* feature: KScript seems to work on a plain Windows console.
* Fix #335: Get --package working with Gradle 7 by replacing the capsule plugin (#370)
* Fix #335: Remove the need for the  Gradle capsule plugin.
* Additional fixes for packaging (better cache support)
* Improved Templates.kt
* Added Kotlin integration tests for packaging and simple tests
* Added suites for different OSes
* Renamed MAC to MACOS constant.
* Fixed error in StreamGobbler in ProcessRunner
* Added empty source case handling
* Better implementation of OsPath.leaf and OsPath.root
* Added integration tests
* Improved testing tools (matchers)
* Cleanup, bug fixes and small improvements.
* Removed old test suite in bash
* Updated TestsReadme.md
* Replace .kscript dir with OS-specific dirs (#323) (#374)
* Refactoring to allow deprecation.
* Deprecation of old features (annotations based on comments)
* Deprecation report
* Updated doc.

Co-authored-by: holgerbrandl@gmail.com <holgerbrandl@users.noreply.github.com>
Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
Co-authored-by: meztihn <6940823+meztihn@users.noreply.github.com
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants