shark-core

The flexible build system

Usage no npm install needed!

<script type="module">
  import sharkCore from 'https://cdn.skypack.dev/shark-core';
</script>

README

Shark

Build Status Build status Coverage Status

Getting Started

1. Install shark-cli globally:

$ npm install shark-cli -g

2. Add next line to your ~/.bashrc or ~/.zshrc to enable shark tab-completion

. <(shark completion)

3. Install shark in your project devDependencies:

$ npm install shark-core --save-dev

4. Create a sharkfile.js at the root of your project:

'use strict';

const path  = require('path');
const Shark = require('shark-core');

const shark = Shark({
  tasksPath: path.join(__dirname, './shark/tasks')
});

module.exports = shark;

4. Run shark:

$ shark