1
1
Fork 0
mirror of https://github.com/tonydamage/nux-env.git synced 2025-12-11 13:24:28 +01:00

Updated files to use nux/* instead of nux.

This commit is contained in:
Tony Tkáčik 2021-03-24 21:31:40 +01:00
parent f5b7b183d2
commit d30931c3df
9 changed files with 17 additions and 21 deletions

View file

@ -1,11 +1,11 @@
#!/usr/bin/env nux-runner
nux.use nudsl
#nux.use nudsl
## highlight:: <language> <file>
task.highlight() {
nux.use nux/nuxsh
nux.dsl.process highlight nux.nuxsh.language.def "$2"
}
@ -23,7 +23,6 @@ task.plan.compile() {
}
task.plan.preview() {
nux.use nux/nuxsh
nux.dsl.plan nux.nuxsh.language "$2"
plan="$(nudsl.plan.file "$1" "$2")"
if [ -e "$plan" ]; then