-
Notifications
You must be signed in to change notification settings - Fork 142
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
Formatting: JsThemis native extension #412
Commits on Mar 5, 2019
-
Formatting: JsThemis native extension
Add native extension of JsThemis to "make fmt" target group. This requires quite a bit of effort because clang-tidy insists on having access to *all* source code involved in complation, including all those NodeJS headers and its modules. First of all, we have to add some hardcoded paths to NodeJS headers. I have not found a proper way to get these paths so we just hardcode them and hope that this is fine. Then we need to have <nan.h> header file for which we have to install the nan module. We do a little hack to achieve that, pretending to 'format' the installation path for Node modules.
Configuration menu - View commit details
-
Copy full SHA for 27b92bd - Browse repository at this point
Copy the full SHA 27b92bdView commit details -
Optimize, group, and reorder includes in JsThemis
This will make automated formatting a bit more nice.
Configuration menu - View commit details
-
Copy full SHA for 2639ee8 - Browse repository at this point
Copy the full SHA 2639ee8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 02fade0 - Browse repository at this point
Copy the full SHA 02fade0View commit details -
Configuration menu - View commit details
-
Copy full SHA for b1fe490 - Browse repository at this point
Copy the full SHA b1fe490View commit details -
Add NodeJS to format checking image
Install npm and nodejs as we need them for checking JsThemis native source code. At least for now.
Configuration menu - View commit details
-
Copy full SHA for 1eb8658 - Browse repository at this point
Copy the full SHA 1eb8658View commit details -
Add a warning if NodeJS is not installed
Print out a warning when formatting files if NodeJS is not installed and we are not able to reformat JsThemis files.
Configuration menu - View commit details
-
Copy full SHA for 4c01a70 - Browse repository at this point
Copy the full SHA 4c01a70View commit details -
Add symlink to jsthemis.mk for Rust's libthemis-src
The current build system for libthemis-src is quite messed up and requires peculiar symlinking to work. Add a symlink for the new file included from the main Makefile.
Configuration menu - View commit details
-
Copy full SHA for 037cb34 - Browse repository at this point
Copy the full SHA 037cb34View commit details
Commits on Mar 7, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 3233ec3 - Browse repository at this point
Copy the full SHA 3233ec3View commit details -
Configuration menu - View commit details
-
Copy full SHA for 61599f2 - Browse repository at this point
Copy the full SHA 61599f2View commit details