Skip to content
New issue

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

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

Already on GitHub? # to your account

Built-in task to show mill version #276

Closed
rockjam opened this issue Apr 2, 2018 · 2 comments
Closed

Built-in task to show mill version #276

rockjam opened this issue Apr 2, 2018 · 2 comments
Labels
good-first-issue The fix/solution for the issue is considered easy. A good starting point for newbies.

Comments

@rockjam
Copy link
Collaborator

rockjam commented Apr 2, 2018

There should be some embedded task to check mill's version. We could implement it as ExternalModule, available for all mill users like GenIdea module.

How to find out mill's version:

def millVersion() = T {
  System.getProperty("MILL_VERSION")
}
@rockjam rockjam added the good-first-issue The fix/solution for the issue is considered easy. A good starting point for newbies. label Apr 2, 2018
@lihaoyi
Copy link
Member

lihaoyi commented Apr 4, 2018

version should probably be a built in task on MainModule rather than an ExternalModule, given it's so simple

@lihaoyi
Copy link
Member

lihaoyi commented Apr 6, 2018

36eb8bd

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
good-first-issue The fix/solution for the issue is considered easy. A good starting point for newbies.
Projects
None yet
Development

No branches or pull requests

2 participants