Skip to content

Implement --add-bootstrap-header - #199

Merged
holgerbrandl merged 1 commit into
kscripting:masterfrom
EugeneSusla:bootstrap
Dec 4, 2018
Merged

holgerbrandl merged 1 commit into
kscripting:masterfrom
EugeneSusla:bootstrap

Conversation

@EugeneSusla

Copy link
Copy Markdown
Contributor

Implementation for #195

See the added section in README.md for details

Test Plan:

  • test/test_suite.sh
  • rm -rf ~/.sdkman && echo 'println("Hello world")' > /tmp/s && kscript --add-bootstrap-header /tmp/s && /tmp/s

See the added section in README.md for details

Test Plan:
 - test/test_suite.sh
 - rm -rf ~/.sdkman && echo 'println("Hello world")' > /tmp/s && kscript --add-bootstrap-header /tmp/s && /tmp/s
@holgerbrandl
holgerbrandl merged commit 4dabdd7 into kscripting:master Dec 4, 2018
@holgerbrandl

Copy link
Copy Markdown
Collaborator

Imho the most beautiful PR in this repo until now. Adding a cool new feature, technically well done, including great tests and even documentation. Thanks a lot @EugeneSusla !

@abelsromero

Copy link
Copy Markdown

Sorry for being late, but I noticed an external script is used with curl https://github.com/holgerbrandl/kscript/blob/4dabdd729f5c0706ab04343dc6a0b0dd77d27bf7/src/main/kotlin/kscript/app/Kscript.kt#L70

Would it be better to keep all logic together in this repo?

@holgerbrandl

Copy link
Copy Markdown
Collaborator

Shame on me as a repo-maintainer for not spotting it in the first place. Thanks for pointing me to the problem. I've fixed it in master.

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