Skip to content

Add cargo xtask export command #36

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

Closed
wants to merge 3 commits into from

Conversation

qryxip
Copy link
Member

@qryxip qryxip commented Sep 11, 2020

Closes #34.

One of the advantages is that we can release ac-library.rs as a single file with GitHub Releases.

Instead, the CI will take longer. I don't think we will need this tool soon (though an ABC will be held tomorrow), so I'll keep this PR draft.

$ cargo xtask export | xsel -ib # to the clieboard
   Compiling xtask v0.0.0 (/home/ryo/src/github.com/rust-lang-ja/ac-library-rs/xtask)
    Finished dev [unoptimized + debuginfo] target(s) in 1.67s
     Running `target/debug/xtask export`
    Expanded /home/ryo/src/github.com/rust-lang-ja/ac-library-rs/src/lib.rs (46161 B)

Screenshot1

Screenshot2

@qryxip qryxip marked this pull request as ready for review September 12, 2020 05:18
@qryxip
Copy link
Member Author

qryxip commented Sep 12, 2020

atcoder/ac-library#20

@qryxip
Copy link
Member Author

qryxip commented Sep 13, 2020

atcoder/ac-library is trying to

provide the everything combined header file so that we can use AC Library by just copy-paste it to the top of main.cpp

Why don't we provide such a combined file.

@qryxip qryxip requested a review from matsu7874 September 13, 2020 01:33
@qryxip qryxip mentioned this pull request Sep 14, 2020
@qryxip qryxip force-pushed the cargo-xtask-export branch 2 times, most recently from 7c29fd2 to b188e7e Compare October 4, 2020 07:24
@qryxip qryxip force-pushed the cargo-xtask-export branch from c59f89e to f0559a2 Compare October 18, 2020 03:54
@qryxip qryxip force-pushed the cargo-xtask-export branch from f0559a2 to 7285f8e Compare October 25, 2020 02:31
@qryxip qryxip closed this Feb 23, 2021
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.

Add a tool that exports the library as a single .rs file
1 participant