Skip to content

nsbruce/xc-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Demo of xc

There is IDE support for vscode and VIM. The docs are quite good.

Tasks

This repository is xc compliant. The following tasks are available:

demo_input

Try with no arg. Then try with arg

inputs: AN_ARG

echo $AN_ARG

demo_env

Shows that you can't override MYVAR

environment: MYVAR=Default

echo $MYVAR

demo_dir

Can't run until the directory exists!

directory: ./build

echo $PWD

demo_inputs

Try with no args. Then try with just one arg.

inputs: VAR1, VAR2 environment: VAR2=default_var2

echo $VAR1 $VAR2

demo_requirements

See that both run!

requires: demo_env

echo requirements met!

demo_shebang

Lets see if python works

#!/usr/local/bin/python3
print("I'm a real python!")

install

Install our poetry project

poetry install --with dev

format

Format our poetry project

isort .
black .

test

Lint and test

mypy .
flake8 .
pytest

About

Showing xc to some dorks

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published