Skip to content
This repository has been archived by the owner on Jun 26, 2022. It is now read-only.
/ atom-build-nsl Public archive

Atom Build provider for nsL Assembler, translates nsL code into NSIS scripts

License

Notifications You must be signed in to change notification settings

idleberg/atom-build-nsl

Repository files navigation

build-nsl

apm apm apm CircleCI David

Atom Build for nsL Assembler, transpiles nsL code into NSIS scripts. Supports the linter package for error highlighting.

Installation

apm

Install build-nsl from Atom's Package Manager or the command-line equivalent:

$ apm install build-nsl

Using Git

Change to your Atom packages directory:

Windows

# Powershell
$ cd $Env:USERPROFILE\.atom\packages
:: Command Prompt
$ cd %USERPROFILE%\.atom\packages

Linux & macOS

$ cd ~/.atom/packages/

Clone repository as build-nsl:

$ git clone https://github.com/idleberg/atom-build-nsl build-nsl

Inside the cloned directory, install Node dependencies:

$ yarn || npm install

You should now be setup to build the package:

$ yarn build || npm run build

Configuration

Make sure to specify the path to your nsL.jar in the package settings.

Example:

"build-nsl":
    pathToJar: "%PROGRAMFILES(X86)%\\NSIS\\NSL\\nsL.jar"

Usage

Before you can build, select an active target with your preferred build option.

Available targets:

  • nsL Assembler – transpiles script

Shortcuts

Here's a reminder of the default shortcuts you can use with this package:

Choose target

Super+Alt+T or F7

Toggle build panel

Super+Alt+V or F8

Build script

Super+Alt+B or F9

License

This work is dual-licensed under The MIT License and the GNU General Public License, version 2.0