diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 0000000..44c2012 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1 @@ +N/A \ No newline at end of file diff --git a/README.md b/README.md index 8b9a36f..33a79dc 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ -

VELOCITY

+![icon.drawio.png](misc/artwork/icon_name.drawio.png) + +----------------------------------------------------------- ## Description A container build manager. diff --git a/misc/artwork/icon_name.drawio b/misc/artwork/icon_name.drawio new file mode 100644 index 0000000..b6efcec --- /dev/null +++ b/misc/artwork/icon_name.drawio @@ -0,0 +1,25 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/misc/artwork/icon_name.drawio.png b/misc/artwork/icon_name.drawio.png new file mode 100644 index 0000000..bdb8dc7 Binary files /dev/null and b/misc/artwork/icon_name.drawio.png differ diff --git a/misc/vim/vtmp.vim b/misc/vim/vtmp.vim index 923fb85..4d861f8 100644 --- a/misc/vim/vtmp.vim +++ b/misc/vim/vtmp.vim @@ -1,34 +1,27 @@ " Vim syntax file " Language: Velocity Template " Maintainer: Asa Rentschler -" Latest Revision: April, 5, 2024 +" Latest Revision: September, 19, 2024 +" Velocity Version: 0.1 " Place this file in ~/.vim/syntax/ and add `au BufRead,BufNewFile *.vtmp set filetype=vtmp` to ~/.vimrc if exists("b:current_syntax") - finish + finish endif -" brackets -syn match codeBrackets '(' -syn match codeBrackets ')' - -" variable operator -syn match variableOperator '%' +" comments +syn match codeComment '>>>.*' " velocity variables -syn keyword velocityVariable __backend__ __base__ __distro__ __hash__ __name__ __system__ __tag__ __timestamp__ __threads__ +syn keyword velocityVariable __backend__ __base__ __distro__ __name__ __system__ __version__ __timestamp__ " velocity operatives -syn match velocityOperative '@' syn match velocityOperative '|' - -" backend contionals -syn match backendConditional '?\w*' +syn match velocityOperative '!envar' " section headers syn match sectionHeader '@from' syn match sectionHeader '@pre' -syn match sectionHeader '@arg' syn match sectionHeader '@copy' syn match sectionHeader '@run' syn match sectionHeader '@env' @@ -36,16 +29,21 @@ syn match sectionHeader '@label' syn match sectionHeader '@entry' syn match sectionHeader '@post' -" template variables +" contained sections syn match templateVariable '[a-zA-Z0-9_]*' contained -syn region templateRegion start='(' end=')' contains=templateVariable +syn match argumentName '[a-zA-Z0-9_]*' contained +syn match conditionalArrow '|>' contained + +syn region variableRegion matchgroup=velocityOperative start="{{" end="}}" contains=templateVariable +syn region argumentRegion matchgroup=velocityOperative start="@@" end="@@" contains=argumentName +syn region conditionalRegion matchgroup=velocityOperative start="??" end="??" contains=conditionalArrow let b:current_syntax = "vtmp" +hi def link codeComment Comment hi def link sectionHeader Function -hi def link backendConditional Conditional hi def link velocityOperative Operator hi def link velocityVariable Identifier -hi def link variableOperator Operator -hi def link codeBrackets Special hi def link templateVariable Identifier +hi def link argumentName Identifier +hi def link conditionalArrow Operator \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 89903c5..605c5f1 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,10 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "olcf-velocity" -version = "0.1.0-rc1" -authors = [ - { name="Asa"} -] +version = "0.1.0" description = "A container build manager" readme = "README.md" dependencies = [