Skip to content
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

Fix for OsType comparison logic #357

Merged
merged 2 commits into from
May 20, 2022

Conversation

justixLoL
Copy link

Changed equals to contains so run for os 'darwin21' also works

Copy link
Collaborator

@aartiPl aartiPl left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - should not break anything and also handle the case for MacOs.

@aartiPl aartiPl merged commit b5eb9d3 into kscripting:kscript_4.1 May 20, 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.

3 participants