Skip to content

Bash script that creates a test HTML file with script tags from .js files in the PWD

Notifications You must be signed in to change notification settings

quiksand/script-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 

Repository files navigation

Script helper

This little script will create a handy test HTML file automatically associated with whatever .js files are in the directory you call it from.

This is still in Beta. Try it out BEFORE an important assignment, not during :)

Installation

  1. Clone the repo to your local machine.
  2. In the local repository:
chmod +x runner
  1. In your bash profile:
alias scripthelper='<path to runner file>' # — make it possible to run assistant helper from any directory

Usage

  1. Clone the assignment
  2. In the local assessment repo, run command (or whatever alias you chose):
scripthelper

This will generate the file with <script> tags set appropriately and open the file. It only checks the PWD, so make sure you call it from the correct folder.

Uninstallation

  1. Just delete the repo and any alias you created
  2. If you want to be really thorough, also delete the runner.html file from your assessment directory

About

Bash script that creates a test HTML file with script tags from .js files in the PWD

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published