Skip to content

Helps auto-generate C files, updates Makefile, and updates header.

Notifications You must be signed in to change notification settings

natdrog/cse2421-lab-helper

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cse2421-lab-helper

Helps auto-generate C files, updates Makefile, and updates header.

How to use:

run:

cse2421 new {param}

There are currently only 2 options:

cse2421 new project

which takes you step-by-step to create a new lab project in your current directory

cse2421 new file

Which allows you to add a new function file. This command automatically updates the header file and Makefile. Note: Make sure to run this file from within the project directory

How to Build:

Once you have cloned the repo, change directory and run:

cargo build --release

The executable should then be under /target/release/cse2421-lab-helper

I will also upload a pre-build executable for stdlinux.

For OSU Students:

Follow these instructions to use this tool

  1. Download pre-built executable for stdlinux
  2. Transfer the file from your computer to your stdlinux enviroment. If you are on a UNIX machine you can use the "scp" command. I don't use Windows so I don't know.
  3. Run the following commands
mkdir bin
mv cse2421-lab-helper ~/bin/cse2421-lab-helper
  1. Add the following to your .bashrc file using:
vi ~/.bashrc

Add: export PATH="$HOME/bin:$PATH" Save the file and then type the command:

source ~/.bashrc

Now you should be all set up go to. Just note: this is a very basic program and has little to no error handling so make sure you type in your inputs correctly.

About

Helps auto-generate C files, updates Makefile, and updates header.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages