Zernit/Makefile
Kreyren d256ff6c67
Master init (#40)
* fdjfgjdfg

* jghkfghkf

* fgdfjfghj

* sgassg

* jksdhgjkasdnh

* Adapted code

* add vlang

* hkghkgh

* sdgasdg

* sagsdag

* gjghfj

* hjfghkf

* dgsghafh

* gjfgjfd

* fdhfhfgj

* Update gitpod.Dockerfile

* fixes

* fixes

* gjhfhghk

* xdgad

* dsgasdg

* shebang test

* sagaga

* shash

* jfhjgh

* hfgdj

* dgsdfhsdf

* Update gitpod.Dockerfile

* dshsfd

* hgkgk

* ffhdfgj

* Update vlang_init.sh

* Update vlang_init.sh

* agsah

* ffgjghjfgh

* jghkfg

* jghjfh

* hdhsfdh

* fdhfgj

* fdhsfdh

* fghdfgh

* sdgag

* dshas

* vcmvmvb

* sdagasdg

* shfdh

* sdagsdag

* dfhfgd

* Update cargo-make requirement from 0.26.2 to 0.27.0

Updates the requirements on [cargo-make](https://github.com/sagiegurari/cargo-make) to permit the latest version.
- [Release notes](https://github.com/sagiegurari/cargo-make/releases)
- [Changelog](https://github.com/sagiegurari/cargo-make/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sagiegurari/cargo-make/compare/0.26.2...0.27.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* test

* Bump termcolor from 1.0.0 to 1.1.0

Bumps [termcolor](http://pypi.python.org/pypi/termcolor) from 1.0.0 to 1.1.0.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* fdhsfh

* Create jekyll.yml

* dsadsh

* fdhgj

* sagsag

* sagag

* hfgj

* sdgsdag

* dgasdga

* hghkh

* sagas

* gjkghkf

* safsaf

* gjfkf

* stub

* djknsfdjknh

* sdgasdg

* asasg

* safsa

* gagsd

* IT'S YOUR TURN TRAVIS MUHAHAH

* shfdhsfd

* gfgj

* dfhfgdj

* fgkfhg

* fdhhsf

* fghkjgh

* fhdfjh

* safsa

* sagasga

* sdgdsfh

* saagsga

* gjhlghl

* jklhj

* gfghkg

* gfjdfgj

* nm,;n

* kljlk'j

* jk'jkl'

* saasga

* sdgasdg

* gjghk

* dhsfh

* fdhsfdj

* hkgjkgh

* asgsa

* fhfgjfg

* RUNALISA!

* asgas

* sasgd

* fdfgj

* dsfhdsf

* fhdfhs

* sagasg

* sagasg

* Fix C and adapt more sanity checks

* shdfh

* sagsag

* safasf

* sag

* hgjl

* asgasg

* sgagsa

* asfasf

* safasf

* sasag

* fdjfgj

* fjdgj

* sagasg

* Why can't i see the hugging source for this GUI? #ThanksMicrosoft

* saksdakhla

* jhlgj

* hjglh

* sdgdasg

* saga

* safsaf

* sagag

* fdhsfdh

* safasf

* fdhjsfdh

* PLEASE JUST FUCKING WORK

* SAGSAG

* sagasg

* agaahds

* end my suffering

* hgkkfkg

* all hail twofifths the savior

* sagasga

* fdhfgh

* dgsgh

* khgk

* asgasg

* ddfjhfg

* asgagasg

* fhdshfd

* asasgsagas

* hgkg

* saasg

* saagg

* ffdjgf

* hlj

* vbbghkk

* safasf

* safsaf

* sdhdfh

* fdhsdh

* saag

* sagag

* safasf

* asgasg

* ffgjfg

* f54hs6f5d4h

* sagasg

* dsgasg

* sgasdg

* gfjfgj

* cfghd

* fhddfgj

* dsgsagd

* shsadh

* fhdf

* fdjhfg

* asgasga

* sdgag

* fjfdgjdf

* fdhsfdh

* asgsa

* sagasg

* sagasg

* sagasg

* dsgsdha

* fdhsfhd

* YoU cAnT dO tHiS iN ShElL kReY

* tetats

* gfjdfgj

* sagsag

* fgj

* bvghkf

* gfhdfghfg

* sdagsadg

* sdgasdg

* agaas

* dassfd

* vbghf

* jghkgh

* hfgdj

* gjkjlg

* sdgfdg

* asgag

* fgkgkh

* fdhsfdh

* dsgasdg

* dsgsg

* fgj

* safsaf

* agsgd

* Finally we have theia config

Relevant: https://github.com/gitpod-io/gitpod/issues/800#issuecomment-587381366

* agsdgh

* kjghkgg

* vjfgjfgd

* add dia

* flowchart: init

* adgasdg

* Update Zernit.drawio

* Update Zernit.drawio

* Update Zernit.drawio

* asdgsdag

* fddfhs

* saasg

* sasag

* dgasdgasd

* dsgasdg

* Create question.md

* Update labels.yml

* do not bother bug wranglers with questions

* sasaasgd

* dhfdh

* safasf

* dsgasdg

* Update debian.Dockerfile

* dsagasdg

* Update debian.Dockerfile

* sdghsdf

* agasd

* Update cargo-make requirement from 0.27.0 to 0.28.0 (#58)

Updates the requirements on [cargo-make](https://github.com/sagiegurari/cargo-make) to permit the latest version.
- [Release notes](https://github.com/sagiegurari/cargo-make/releases)
- [Changelog](https://github.com/sagiegurari/cargo-make/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sagiegurari/cargo-make/compare/0.27.0...0.28.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>

* stub for RXT ownership

* Create other.md

* Create legal-request.yml

* Rename legal-request.yml to legal-request.md

* Update bug_report.md

* sgsfdh

* saga

* stub license

* Initial configuration

Co-authored-by: @Klairm <ivangardis@hotmail.com>
- Thanks for C contrib!
Co-authored-by: @Uniminin <uniminin@zoho.com> 
- Thanks for the contribution of annoyance and python!
Co-authored-by: @JesterOrNot <seanhellum45@gmail.com>
- Thanks for gitpod contrib! https://github.com/RXT0112/Zernit/pull/32
- Thanks for issue-meggage in https://github.com/RXT0112/Zernit/pull/23!
Co-authored-by: dependabot-preview[bot] <27856297+dependabot-preview[bot]@users.noreply.github.com>
2020-03-18 07:23:24 +01:00

132 lines
3.6 KiB
Makefile

# FIXME: in-code docs needed
# FIXME: Windows doesn't support makefiles natively -> if you have a better method then please MR it or make an issue
## Syntax capture ##
all:
@ printf '%s\n' "Unknown option '$1' parsed in target all"
@ exit 2
## BUILD ##
# All build targets are expected in 'build/build-LANG' where 'LANG' is the unique identifier of the language used
# FIXME: Replace 'exit 1' with helpful messages
build: build-rustlang build-clang-c build-gcc-c build-gcc-ccp build-clang build-brainfuck build-python build-vlang build-golang
@ printf 'WARN: %s\n' "You are abould to build all targets on multilang project"
# FIXME: Build in '$repodir/build/build-rustlang' instead of '$repodir/target' for multilang support
build-rustlang:
@ cargo build --verbose
# FIXME: Add logic
build-clang-c:
@ # Make a build directory
@ [ ! -d build ] && { mkdir build || exit 1 ;} || exit 0
@ [ ! -d build/build-clang-c ] && { mkdir build/build-clang-c || exit 1 ;} || exit 0
@ # Compilation
@ [ ! -f build/build-clang-c/zernit-clang-c ] && { clang src/bin/main.c -o build/build-clang-c/zernit-clang-c || exit 1 ;} || exit 0
@ printf '%s\n' "Compilation of target for clang-c finished"
build-gcc-c:
@ # Make a build directory
@ [ ! -d build ] && { mkdir build || exit 1 ;} || exit 0
@ [ ! -d build/target-gcc-c ] && { mkdir build/build-gcc-c || exit 1 ;} || exit 0
@ # Compilation
@ [ ! -f build/build-gcc-c/zernit-gcc-c ] && { gcc src/bin/main.c -o build/build-gcc-c/zernit-gcc-c || exit 1 ;} || exit 0
@ printf '%s\n' "Compilation of target for gcc-c finished"
# FIXME: Replace 'exit 1' with helpful messages
build-gcc-ccp:
@ # Make a build directory
@ [ ! -d build ] && { mkdir build || exit 1 ;}
@ [ ! -d build/target-gcc ] && { mkdir build/build-gcc || exit 1 ;}
@ # Compilation
@ [ ! -f build/build-gcc ] && { gcc src/bin/main.c -o build/build-gcc/gcc-zernit || exit 1 ;}
@ printf '%s\n' "Compilation of target for gcc finished"
build-clang-ccp:
@ printf 'FIXME: %s\n' "translate zernit in clang"
@ exit 1
build-brainfuck:
@ printf 'FIXME: %s\n' "translate zernit in brainfuck"
@ exit 1
# FIXME: requires python3.6+ and pip3
build-python:
@ pip3 install -r requirements.txt
build-vlang:
@ [ ! -d build ] && mkdir build
@ [ ! -d build/build-vlang ] && mkdir build/build-vlang
@ /opt/vlang/v -o build/build-vlang/zernit-vlang src/bin/main.v
build-golang:
@ [ ! -d build ] && mkdir build
@ [ ! -d build/build-golang ] && mkdir build/build-golang
@ go build -o build/build-golang/zernit-golang src/bin/main.go
## CHECK/TESTS ##
check:
@ printf 'FIXME: %s\n' "Check all targets if executed"
@ exit 1
check-gcc-c:
@ printf 'FIXME: %s\n' "Add tests for gc"
@ exit 1
check-clang-c:
@ printf 'FIXME: %s\n' "Add tests for gcc"
@ exit 1
check-gcc-ccp:
@ printf 'FIXME: %s\n' "Add tests for clang"
@ exit 1
check-python:
@ printf 'FIXME: %s\n' "Add tests for python"
@ exit 1
check-rustlang:
@ printf 'FIXME: %s\n' "Add tests for rustlang"
@ exit 1
check-brainfuck:
@ printf 'FIXME: %s\n' "Add tests for brainfuck"
@ exit 1
check-shell:
@ printf 'FIXME: %s\n' "Add tests for shell"
@ exit 1
check-bash:
@ printf 'FIXME: %s\n' "Add tests for bash"
@ exit 1
check-vlang:
@ printf 'FIXME: %s\n' "Add tests for vlang"
@ exit 1
## BENCHES ##
# FIXME: Run all benches if this is executed
bench: bench-rustlang
# FIXME: Run vendor and
bench-rustlang:
@ cargo bench
## CLEAN ##
clean: clean-vendor clean-benches
@ [ -d build ] && { rm -rf build || exit 1 ;} || exit 0
@ printf '%s\n' "Build directory has been cleaned"
clean-vendor:
@ # FIXME: Output helpful message if directory doesn't exists
@ [ -d vendor ] && { rm -rf vendor || exit 1 ;} || exit 0