-
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.
Merge pull request #7 from willcipriano/develop
Create version 0.0.2
- Loading branch information
Showing
28 changed files
with
481 additions
and
159 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,9 @@ | ||
# Project exclude paths | ||
/cmake-build-debug/ | ||
.idea | ||
/.idea/* | ||
/.idea/* | ||
cmake_install.cmake | ||
CMakeCache.txt | ||
Connery | ||
Makefile | ||
/CMakeFiles/ |
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,7 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="Connery [test.connery]" type="CMakeRunConfiguration" factoryName="Application" PROGRAM_PARAMS="test.connery" REDIRECT_INPUT="false" PASS_PARENT_ENVS_2="true" PROJECT_NAME="Connery" TARGET_NAME="Connery" CONFIG_NAME="Debug" RUN_TARGET_PROJECT_NAME="Connery" RUN_TARGET_NAME="Connery"> | ||
<method v="2"> | ||
<option name="com.jetbrains.cidr.execution.CidrBuildBeforeRunTaskProvider$BuildBeforeRunTask" enabled="true" /> | ||
</method> | ||
</configuration> | ||
</component> |
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,7 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="Connery" type="CMakeRunConfiguration" factoryName="Application" REDIRECT_INPUT="false" PASS_PARENT_ENVS_2="true" PROJECT_NAME="Connery" TARGET_NAME="Connery" CONFIG_NAME="Debug" RUN_TARGET_PROJECT_NAME="Connery" RUN_TARGET_NAME="Connery"> | ||
<method v="2"> | ||
<option name="com.jetbrains.cidr.execution.CidrBuildBeforeRunTaskProvider$BuildBeforeRunTask" enabled="true" /> | ||
</method> | ||
</configuration> | ||
</component> |
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,8 @@ | ||
<component name="ProjectRunConfigurationManager"> | ||
<configuration default="false" name="local.run" type="MAKEFILE_TARGET_RUN_CONFIGURATION" factoryName="Makefile"> | ||
<makefile filename="$PROJECT_DIR$/Buildfile" target="local.run" workingDirectory="" arguments=""> | ||
<envs /> | ||
</makefile> | ||
<method v="2" /> | ||
</configuration> | ||
</component> |
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,29 @@ | ||
local.install: | ||
sudo apt-get -y install build-essential | ||
sudo apt-get -y install cmake | ||
sudo apt-get -y install libcurl4-openssl-dev | ||
sudo apt-get -y install libedit-dev | ||
|
||
local.build: | ||
cmake src/. | ||
make Connery | ||
|
||
local.clean: | ||
make clean || true | ||
rm cmake_install.cmake || true | ||
rm CMakeCache.txt || true | ||
rm -r CMakeFiles || true | ||
rm -r stdlib || true | ||
rm Makefile || true | ||
|
||
local.run: | ||
./Connery || cmake src/. && make Connery && ./Connery || sudo apt-get -y install build-essential; sudo apt-get -y install cmake; sudo apt-get -y install libcurl4-openssl-dev; sudo apt-get -y install libedit-dev; cmake src/. && make Connery && ./Connery || echo "There is nothing like a challenge to bring out the best in man." | ||
|
||
docker.build: | ||
docker build --tag connerylang . | ||
|
||
docker.clean: | ||
docker rmi connerylang --force | ||
|
||
docker.run: | ||
docker run -it connerylang || docker build --tag connerylang . && docker run -it connerylang |
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
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,30 @@ | ||
#!/bin/bash | ||
|
||
connery_install_path=$(eval echo ~$user); | ||
export CONNERY_INSTALL_PATH=$connery_install_path; | ||
export CONNERY_PATH=$connery_install_path"/Connery" | ||
|
||
pushd ./ | ||
|
||
cd "$CONNERY_INSTALL_PATH" || exit && | ||
git clone --single-branch --branch feature/traceback_system https://github.com/willcipriano/Connery.git | ||
|
||
|
||
cd "$CONNERY_PATH" || exit && | ||
make -f Buildfile local.install ; make -f Buildfile local.build | ||
|
||
rm Buildfile || true ; | ||
rm CMakeCache.txt || true ; | ||
rm -rf CMakeFiles || true ; | ||
rm cmake_install.cmake || true ; | ||
rm Dockerfile || true ; | ||
rm -rf Makefile || true ; | ||
rm -rf src || true ; | ||
|
||
export PATH=$PATH:$CONNERY_PATH | ||
|
||
|
||
|
||
|
||
|
||
|
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
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
Oops, something went wrong.