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

Create Truffle specific main function. #3066

Merged
merged 3 commits into from
Jun 18, 2015

Conversation

bbelleville
Copy link
Contributor

No description provided.

@chrisseaton chrisseaton self-assigned this Jun 18, 2015
@chrisseaton chrisseaton added this to the truffle-dev milestone Jun 18, 2015
@chrisseaton
Copy link
Contributor

Thanks for this. A couple of general comments:

  • 4-spaces instead of tabs, please
  • Comments with a capital letter (sorry to be picky)
  • The licence header you need is:
/*
 * Copyright (c) 2015 Oracle and/or its affiliates. All rights reserved. This
 * code is released under a tri EPL/GPL/LGPL license. You can use it,
 * redistribute it and/or modify it under the terms of the:
 *
 * Eclipse Public License version 1.0
 * GNU General Public License version 2
 * GNU Lesser General Public License version 2.1
 */

@enebo @headius this simpler Truffle-specifc main method is designed to support some research @bbelleville is doing with our ahead-of-time-compiler - we're not planning on separating from the real JRuby main method or launcher or anything like that apart from for this research.

Change tabs to spaces and capitalize comments.
chrisseaton added a commit that referenced this pull request Jun 18, 2015
[Truffle] Create Truffle specific main function.
@chrisseaton chrisseaton merged commit 9d90efa into jruby:master Jun 18, 2015
.parseFromMain(filename, in);

// If no DATA, we're done with the stream, shut it down
if (runtime.fetchGlobalConstant("DATA") == null) {
Copy link
Member

Choose a reason for hiding this comment

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

I see tabs around here

Copy link
Contributor

Choose a reason for hiding this comment

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

Yeah I went back and fixed.

Copy link
Member

Choose a reason for hiding this comment

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

Fixed by @chrisseaton in a later commit.

@eregon
Copy link
Member

eregon commented Jun 19, 2015

I'll address my comments in a commit.

@bbelleville bbelleville deleted the truffle-main branch August 6, 2015 18:08
@enebo enebo added this to the Non-Release milestone Dec 7, 2017
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.

None yet

4 participants