Metadata-Version: 2.1
Name: web-source-compiler
Version: 0.0.1
Summary: A package for reading Jenkinsfile-like pipeline files
Home-page: https://github.com/jfcarter2358/web-source-compiler
Author: John Carter
Author-email: jfcarter2358@gmail.com
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/jfcarter2358/web-source-compiler/issues
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.8
Description-Content-Type: text/markdown
Requires-Dist: cartils (==0.0.11)
Requires-Dist: setuptools (==41.2.0)

# Web Source Compiler

# Usage

When first using the web-source-compiler in a project, run

```
wsc init
```

to generate a `.wsc` file.

After that, customize the file with the directories where your source files will be located (don't worry about ones that don't exist yet). Then, run

```
wsc setup
```

To create all missing directories for you.

When writing your code, you can create sub-modules for javascript, html, and css. Place them in the `modules` subdirectory with any main pages in the `main` subdirectory. You can then import the modules into any main file with the following comments:

## Javascript

```
// import <module name>
```

## html

```
<!-- import <module name> -->
```

## css

```
/* import <module name> -->
```

When you're ready to compile your code, run

```
wsc compileS
```

