boost.cxx 0.0.1 → 1.90.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +7 -0
  2. package/package.json +1 -1
  3. package/build.sh +0 -44
package/README.md CHANGED
@@ -15,3 +15,10 @@ And then include `boost.cxx` as follows:
15
15
  ```c
16
16
  #include "node_modules/boost.cxx/boost/thread.hpp"
17
17
  ```
18
+
19
+ <br>
20
+ <br>
21
+
22
+
23
+ [![ORG](https://img.shields.io/badge/org-nodef-green?logo=Org)](https://nodef.github.io)
24
+ ![](https://ga-beacon.deno.dev/G-RC63DPBH3P:SH3Eq-NoQ9mwgYeHWxu7cw/github.com/nodef/boost.cxx)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "boost.cxx",
3
- "version": "0.0.1",
3
+ "version": "1.90.0",
4
4
  "description": "Super-project for modularized Boost; Dawes et al. (1998).",
5
5
  "keywords": [
6
6
  "cxx",
package/build.sh DELETED
@@ -1,44 +0,0 @@
1
- #!/usr/bin/env bash
2
- URL="https://github.com/boostorg/boost/releases/download/boost-1.90.0.beta1/boost-1.90.0.beta1-cmake.zip"
3
- ZIP="${URL##*/}"
4
- DIR="${ZIP%-cmake.zip}"
5
- mkdir -p .build
6
- cd .build
7
-
8
- # Download the boost release
9
- if [ ! -f "$ZIP" ]; then
10
- echo "Downloading $ZIP from $URL ..."
11
- curl -L "$URL" -o "$ZIP"
12
- echo ""
13
- fi
14
-
15
- # Unzip the boost release
16
- if [ ! -d "$DIR" ]; then
17
- echo "Unzipping $ZIP to .build/$DIR ..."
18
- cp "$ZIP" "$ZIP.bak"
19
- unzip -q "$ZIP"
20
- rm "$ZIP"
21
- mv "$ZIP.bak" "$ZIP"
22
- echo ""
23
- fi
24
-
25
- # Ensure all libs are added to gitignore
26
- # echo "Updating .gitignore ..."
27
- # for libdir in "$DIR"/libs/*; do
28
- # if [ ! -d "$libdir" ]; then continue; fi
29
- # for pth in "$libdir/include/boost"/*; do
30
- # entry="${pth##*/}"
31
- # if [ -d "$pth" ]; then entry="$entry/"; fi
32
- # if grep -q "$entry" ../.gitignore; then continue; fi
33
- # echo "$entry" >> ../.gitignore
34
- # done
35
- # done
36
-
37
- # Copy the libs to the package directory
38
- mkdir -p ../boost
39
- for libdir in "$DIR"/libs/*; do
40
- lib="${libdir##*/}"
41
- if [ ! -d "$libdir" ]; then continue; fi
42
- echo "Copying $lib to $lib/ ..."
43
- cp -rf "$libdir/include/boost"/* ../boost/
44
- done