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 -c cmdline option for task lua #93

Merged
merged 2 commits into from May 16, 2017

Conversation

Projects
None yet
2 participants
@TitanSnow
Contributor

TitanSnow commented May 16, 2017

xmake lua -c <command> to run a single command from arg

Just like sh -c and python -c

@waruqi waruqi merged commit cbfbc97 into tboox:dev May 16, 2017

1 of 2 checks passed

continuous-integration/travis-ci/pr The Travis CI build is in progress
Details
continuous-integration/appveyor/pr AppVeyor build succeeded
Details
@codecov

This comment has been minimized.

Show comment
Hide comment
@codecov

codecov bot May 16, 2017

Codecov Report

Merging #93 into dev will decrease coverage by 0.03%.
The diff coverage is 14.28%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev      #93      +/-   ##
==========================================
- Coverage   65.69%   65.66%   -0.04%     
==========================================
  Files         235      235              
  Lines        9478     9484       +6     
==========================================
+ Hits         6227     6228       +1     
- Misses       3251     3256       +5
Impacted Files Coverage Δ
xmake/plugins/lua/xmake.lua 36.84% <14.28%> (-3.79%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a7c6ffa...37b4a76. Read the comment docs.

codecov bot commented May 16, 2017

Codecov Report

Merging #93 into dev will decrease coverage by 0.03%.
The diff coverage is 14.28%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev      #93      +/-   ##
==========================================
- Coverage   65.69%   65.66%   -0.04%     
==========================================
  Files         235      235              
  Lines        9478     9484       +6     
==========================================
+ Hits         6227     6228       +1     
- Misses       3251     3256       +5
Impacted Files Coverage Δ
xmake/plugins/lua/xmake.lua 36.84% <14.28%> (-3.79%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a7c6ffa...37b4a76. Read the comment docs.

@waruqi

This comment has been minimized.

Show comment
Hide comment
@waruqi

waruqi May 16, 2017

Member

👍

Member

waruqi commented May 16, 2017

👍

@waruqi

This comment has been minimized.

Show comment
Hide comment
@waruqi

waruqi May 16, 2017

Member

I improved it to pass arguments.

$ xmake lua -c "print(...)" hello xmake!
$ xmake lua -c "print('%s %s', ...)" hello xmake!
Member

waruqi commented May 16, 2017

I improved it to pass arguments.

$ xmake lua -c "print(...)" hello xmake!
$ xmake lua -c "print('%s %s', ...)" hello xmake!

waruqi added a commit that referenced this pull request May 16, 2017

Merge pull request #93 from TitanSnow/command
add -c cmdline option for task lua
(cherry picked from commit cbfbc97)

@waruqi waruqi added the improvement label Jun 5, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment