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

Add settings #6

Open
snaulX opened this issue Aug 31, 2019 · 0 comments
Open

Add settings #6

snaulX opened this issue Aug 31, 2019 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@snaulX
Copy link
Owner

snaulX commented Aug 31, 2019

From this moment You can use settings.
For example code in build-file:
settings = example.xml
Code in example.xml:

<!--example-->
<settings>
    <project>
          <name>Example</name>
          <version>1.0.0</version>
          <entrypoint>#main</entrypoint>
    </project>
</settings>

And to our project add constants name = "Example" version = new Version(1, 0, 0). Else when run project will run function main.

It`s the simplest example of using settings.

@snaulX snaulX self-assigned this Aug 31, 2019
@snaulX snaulX added the enhancement New feature or request label Aug 31, 2019
@snaulX snaulX added this to the 1.0.0 milestone Aug 31, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant