-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor all token definitions to improve readability, also start wor…
…king on ci/cd integration
- Loading branch information
Showing
22 changed files
with
726 additions
and
519 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,2 @@ | ||
CompileFlags: # Tweak the parse settings, example directory given to show format | ||
Add: | ||
- "-std=c++2b" | ||
- "-I/opt/homebrew/opt/llvm/include" | ||
CompileFlags: | ||
CompileCommandsDir: . |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
name: CI | ||
|
||
on: [push, pull_request] | ||
|
||
jobs: | ||
build: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
- name: Install xmake | ||
run: | | ||
curl -fsSL https://xmake.io/shget.text | sh | ||
- name: Configure and build | ||
run: | | ||
xmake f -m debug | ||
xmake | ||
- name: Run tests | ||
run: | | ||
xmake run test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,4 +5,6 @@ build/ | |
# MacOS Cache | ||
.DS_Store | ||
|
||
|
||
# Clanged Cache | ||
.clangd/ | ||
.cache/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
[ | ||
{ | ||
"directory": "/Volumes/Container/Projects/Helix/helix-lang", | ||
"arguments": ["/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang", "-c", "-Qunused-arguments", "-target", "arm64-apple-macos14.5", "-isysroot", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk", "-g", "-Wall", "-O3", "-std=c++2b", "-I", "/Users/dhruvan/.xmake/packages/c/catch2/v3.6.0/0a747bbcabc64c97b99b19d67325207e/include", "-stdlib=libc++", "-fno-rtti", "-I/opt/llvm-aarch64/include", "-o", "build/.objs/test/macosx/arm64/debug/tests/test_tokens.cc.o", "tests/test_tokens.cc"], | ||
"file": "tests/test_tokens.cc" | ||
}, | ||
{ | ||
"directory": "/Volumes/Container/Projects/Helix/helix-lang", | ||
"arguments": ["/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang", "-c", "-Qunused-arguments", "-target", "arm64-apple-macos14.5", "-isysroot", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk", "-g", "-Wall", "-O3", "-std=c++2b", "-stdlib=libc++", "-fno-rtti", "-I/opt/llvm-aarch64/include", "-o", "build/.objs/helix-lang/macosx/arm64/debug/source/main.cc.o", "source/main.cc"], | ||
"file": "source/main.cc" | ||
}, | ||
{ | ||
"directory": "/Volumes/Container/Projects/Helix/helix-lang", | ||
"arguments": ["/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang", "-c", "-Qunused-arguments", "-target", "arm64-apple-macos14.5", "-isysroot", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk", "-g", "-Wall", "-O3", "-std=c++2b", "-stdlib=libc++", "-fno-rtti", "-I/opt/llvm-aarch64/include", "-o", "build/.objs/helix-lang/macosx/arm64/debug/source/cli/cli.cc.o", "source/cli/cli.cc"], | ||
"file": "source/cli/cli.cc" | ||
}, | ||
{ | ||
"directory": "/Volumes/Container/Projects/Helix/helix-lang", | ||
"arguments": ["/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang", "-c", "-Qunused-arguments", "-target", "arm64-apple-macos14.5", "-isysroot", "/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX14.5.sdk", "-g", "-Wall", "-O3", "-std=c++2b", "-stdlib=libc++", "-fno-rtti", "-I/opt/llvm-aarch64/include", "-o", "build/.objs/helix-lang/macosx/arm64/debug/source/parser/cpp/fn_signatures.cc.o", "source/parser/cpp/fn_signatures.cc"], | ||
"file": "source/parser/cpp/fn_signatures.cc" | ||
}] |
File renamed without changes.
File renamed without changes.
Oops, something went wrong.