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 build script presets and stages #3

Open
myzhang1029 opened this issue Apr 24, 2020 · 0 comments
Open

add build script presets and stages #3

myzhang1029 opened this issue Apr 24, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@myzhang1029
Copy link
Owner

v0.3 task:
e.g. in conf.toml:

[build]
preset="cmake" # or
preset="autoconf" # or
preset="buildsh" # (optional)
# or
[build.stages]
configure=[
'./autogen.sh',
'./configure',
]
make=[
'make'
]
install=[
'make install'
]
clean=[
'make distclean'
]

and the clean stage can be run automatically if build failed and debug is not set.
The old build.sh way will still work, and the buildsh preset says that explicitly.
The commands are run inside a shell (asyncio.create_subprocess_shell)
If any command failed, things won't continue.

@myzhang1029 myzhang1029 self-assigned this Apr 24, 2020
@myzhang1029 myzhang1029 added this to the v0.3 milestone May 31, 2020
@myzhang1029 myzhang1029 added the enhancement New feature or request label Jul 11, 2020
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