Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Install the KRL Compiler using this command:
    1. npm install -g krl-compiler
    2. ensure that its version is at or beyond krl-compiler@0compiler@1.260.41
    3. if you have an older version, use this command: npm update -g krl-compiler
  2. Create your git repository
  3. Navigate to <repository>/.git/hooks
  4. Install the pre-commit shell script from the Programming Tools GitHub repository by placing it in that directory; be sure it's executable

Now, when you commit KRL files, they will be parsed and the commit will fail if they do not parse successfully. The hook attempts to flush rulesets when they're committed. By default it flushes them on localhost:8080. If you'd like to change this, edit the hook or set the PICO_ENGINE environment variable

Filter by label (Content by label)
showLabelsfalse
max5
spacesdocs
showSpacefalse
sortmodified
reversetrue
typepage
cqllabel in ( "picos" , "git" , "krl" , "parsing" , "krl-compiler" ) and type = "page" and space = "docs"
labelspicos

...