Skip to content

Commit a9cac30

Browse files
authored
CleanUp (#41)
1 parent 644041e commit a9cac30

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

41 files changed

+23
-3808
lines changed

.github/workflows/main.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
name: c2wasm-api to Heroku CD
1+
name: compiler-api to Heroku CD
22

33
on:
44
push:
@@ -10,7 +10,7 @@ on:
1010
#set environment variables
1111
env:
1212
HEROKU_API_KEY: ${{ secrets.HEROKU_API_KEY }}
13-
APP_NAME: ${{ 'xrpl-c2wasm-api' }}
13+
APP_NAME: ${{ 'xrpl-compiler-api' }}
1414

1515
jobs:
1616
build:

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
.DS_Store
22
/bin
33
bin.zip
4-
docker/c2wasm-api
4+
docker/compiler-api
55
docker/wasi-sdk
66
docker/clangd
77
docker/hook-cleaner

.gitmodules

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,9 @@
1010
[submodule "quickjslite"]
1111
path = quickjslite
1212
url = https://github.com/RichardAH/quickjslite
13-
[submodule "c2wasm-api/clang/includes"]
14-
path = c2wasm-api/clang/includes
15-
url = https://github.com/Xahau/xahaud
1613
[submodule "guard-checker"]
1714
path = guard-checker
1815
url = https://github.com/RichardAH/guard-checker
16+
[submodule "compiler-api/clang/includes"]
17+
path = compiler-api/clang/includes
18+
url = https://github.com/Xahau/xahaud

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ checkout:
1010
git submodule update --init --recursive hook-cleaner-c
1111
git submodule update --init --recursive guard-checker
1212
git submodule update --init --recursive quickjslite
13-
git submodule update --init --recursive c2wasm-api/clang/includes
13+
git submodule update --init --recursive compiler-api/clang/includes
1414

1515
bin:
1616
mkdir $@

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,11 +41,11 @@ top-level make `build` target can be replaced by running just the
4141
allows skipping the checkout of the `llvm-project`, `wasi-sdk`,
4242
`hook-cleaner-c` and `quickjslite` submodules.
4343

44-
## API Wrapper or c2wasm-api
44+
## API Wrapper or compiler-api
4545

46-
This project includes node.js endpoint where you can send c files and it will return compiled binary as a response. Development of this api happens under c2wasm-api folder. c2wasm-api folder contains README.md which has further information about the project.
46+
This project includes node.js endpoint where you can send c files and it will return compiled binary as a response. Development of this api happens under compiler-api folder. compiler-api folder contains README.md which has further information about the project.
4747

48-
## Developing c2wasm-api without building all the binaries
48+
## Developing compiler-api without building all the binaries
4949

5050
Make sure you have Docker installed. Clone this project. Download
5151
latest bin.zip file from the releases of this GitHub repository, put
@@ -56,7 +56,7 @@ unzip bin.zip
5656
```
5757

5858
- CD to docker folder `cd docker`
59-
- Run `make c2wasm-api && make clangd && make wasi-sdk && make hook-cleaner && make guard-checker && make qjsc`
59+
- Run `make compiler-api && make clangd && make wasi-sdk && make hook-cleaner && make guard-checker && make qjsc`
6060
- Run `docker-compose build`
6161
- Run `docker-compose up` or `docker-compose up -d`
6262
- This should start server at port `:9000`, the actual compiling endpoint is this: [http://localhost:9000/api/build](localhost:9000/api/build). Note that it takes a while to start.

c2wasm-api/clang/includes

Lines changed: 0 additions & 1 deletion
This file was deleted.
File renamed without changes.

compiler-api/clang/includes

Submodule includes added at 89cacb1

0 commit comments

Comments
 (0)