Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Tags: wolf-coder/c

Tags

v0.11

Toggle v0.11's commit message
v0.11

This one might be a little unstable... there's a couple of ambitious fixes.
Anyways, all the previous tests pass correctly as well as the new ones.

Fixes:
* now works in directories with spaces
* now compiles files with spaces

Breaking changes:
* no longer accepting stdin input for source code.

E.g., this no longer works:
```shell
$ cat hello.c | c
...or...
$ c < hello.c
```

In the three years that I've used this script, I've maybe used this
feature two times. I think that it's much more useful for a C program
to able to accept stdin input, than for this feature to exist.

pre-stdin-and-spaces

Toggle pre-stdin-and-spaces's commit message
whoopsssss.... fix usage

added-stdin

Toggle added-stdin's commit message
remove stdin blurb

added-spaces

Toggle added-spaces's commit message
bump version to v0.11

v0.10

Toggle v0.10's commit message
v0.10

Seems stable enough...

* Implement caching!
* Add noise.sh example. (It's really cool! You should go check it out!)

v0.09

Toggle v0.09's commit message
v0.09

* Use $CFLAGS if we have it.
* Link stdc++ is necessary.

v0.08

Toggle v0.08's commit message
v0.08

* Remove `gnu-sed` dep. for OSX.
* Close stdin when we are done with it.
* Fix bug when running from a different directory, e.g. `c examples/hello.c`.
* Link stdc++ if necessary.

v0.07

Toggle v0.07's commit message
v0.07

* C++ compatibility.
* Use gsed instead of sed, if it exists.
* Add AUR and bpkg.
* Copy sources to $tmpdir before compiling. This allows us to run multiple
  instances, not worry about permissions, not get "file was changed" from IDEs, etc.

v0.06

Toggle v0.06's commit message
v0.06

* Modularize tests.
* Allow stdin input.

v0.05

Toggle v0.05's commit message
v0.05

* Add tests.
* Fix argv[0] bug when using CLI.
* Fix arguments with spaces by quoting "$@".