Commit Graph

29 Commits

Author SHA1 Message Date
tastytea c9e38fa636
Add --compiler, to override compiler command.
continuous-integration/drone/push Build is passing Details
2019-10-10 22:52:51 +02:00
tastytea 5430c2de39
Use regex to find compiler arguments.
continuous-integration/drone/push Build is passing Details
2019-10-10 22:01:36 +02:00
tastytea 6fb459467a
Make NOLINT more precise. 2019-10-10 22:00:22 +02:00
tastytea 3a42baa24a
Improved error handling somewhat.
continuous-integration/drone/push Build is passing Details
We now throw exceptions and catch them in main().
2019-10-01 11:43:19 +02:00
tastytea 6efea73391
Refactored code into a class.
continuous-integration/drone/push Build is passing Details
2019-10-01 11:10:11 +02:00
tastytea 19a9388137
Improve build process.
Update CMake recipes, update xdgcfg.
2019-10-01 11:10:03 +02:00
tastytea e8685e9f55
Remove unnecessary C++17-check. 2019-10-01 08:23:23 +02:00
tastytea c265c129ea
Fixed indentation where possible. 2019-03-16 05:52:42 +01:00
tastytea b4011aae38
Changed copyright notice.
the build was successful Details
2019-03-07 23:21:58 +01:00
tastytea 3216d85aaf
Added --version. 2019-03-05 22:29:36 +01:00
tastytea 9eb18e0c95
Change default compiler from g++ to g++ -x c++
the build was successful Details
g++ guesses the language from file extensions. -x c++ forces the
language to C++, so you don't need file extensions on your scripts.
2019-02-09 00:20:05 +01:00
tastytea cf5f9bcca0
Write config if it doesn't exist.
the build was successful Details
2019-02-08 01:42:37 +01:00
tastytea a4b4b41577
Allow # and ; as comment indicators
the build was successful Details
2019-01-25 04:18:04 +01:00
tastytea 6cd9ff8083
Abort on compilation error.
the build was successful Details
2019-01-01 09:29:16 +01:00
tastytea cc974b5cbb
Fail if config can't be read.
the build was successful Details
2018-12-31 14:00:39 +01:00
tastytea c0793664f9
A bit of refactoring 2018-12-31 13:58:23 +01:00
tastytea 5313345853
Added shebang detection 2018-12-31 13:48:37 +01:00
tastytea f4d39e4dfc
Added possibility to clean up cache_dir.
the build was successful Details
Fixes #2
2018-12-30 11:46:29 +01:00
tastytea 711accdc8f
Replicate the full path of the original file under cache_dir.
the build was successful Details
Fixes #1
2018-12-30 03:14:32 +01:00
tastytea 3e39846c15
Changed the binary path to be source + ".bin".
the build was successful Details
2018-12-29 08:31:16 +01:00
tastytea b68e81d36c
Removed forced cpp extension on cached sourcecode.
the build was successful Details
2018-12-29 08:16:05 +01:00
tastytea db4d1fcd4b
Skip compilation if binary is newer than source file. 2018-12-29 08:11:36 +01:00
tastytea e662b73918
Reordered things to make it more pleasant to the brain.
the build was successful Details
2018-12-29 06:19:53 +01:00
tastytea 93e079cc89
Renamed from cppscript to compilescript. 2018-12-29 06:09:50 +01:00
tastytea 1b46b56624
Switched license to GPL-3.0.
the build is pending Details
2018-12-29 05:58:32 +01:00
tastytea ba8a788039
Added error codes
the build is pending Details
2018-12-29 05:56:26 +01:00
tastytea 7a5abc6595
Added compiler arguments 2018-12-29 05:34:14 +01:00
tastytea d058f1f012
Simple files (without flags) work. 2018-12-29 05:15:49 +01:00
tastytea 017b390805
Initial commit. 2018-12-28 13:56:34 +01:00