pulsepm / pulse

Unofficial package manager written in python.
MIT License
4 stars 0 forks source link

[BUG]: Others Include Fail #49

Closed defakuto closed 5 months ago

defakuto commented 5 months ago

Describe the bug When you try to load other includes except omp, it throws an error ie it cannot find them.

To Reproduce Steps to reproduce the behavior:

  1. Fork library foreach
  2. Create pulse.toml
  3. Insert Content
    
    [project]
    name = "foreach_omp"
    publisher = "defakuto"
    repo = "foreach_omp"

[requirements] live = [ "pulsepm/omp-stdlib@master",]


4. pulse install username/repo
5. Include ``#include <foreach>``
6. Pulse Build

**Expected behavior**
The expected behavior would be to read the include, and compile the gamemode successfully.
This goes for all includes, not specific this one.

**Desktop (please complete the following information):**
 - OS: Windows 11 Pro Version 10.0.22631 Build 22631

**Additional context**

| Command                                               | Output                             |
|-------------------------------------------------------|------------------------------------|
| `PS C:\Users\defak\OneDrive\Documents\GitHub\pulse_omp> pulse build` | `{'live': ['pulsepm/omp-stdlib@master', 'defakuto/samp-foreach-to-omp@master', 'defakuto/formatex_omp@master']}` |
|                                                       |                                    |
| `OPTIONS: ['-d3', '-;+', '-opulse.amx', '-irequirements/omp-stdlib']` |                                    |
| Here goes options: `['-d3', '-;+', '-opulse.amx', '-irequirements/omp-stdlib']` |                                    |
|                                                       |                                    |
| `Pawn compiler 3.10.11`                              | `Copyright (c) 1997-2006, ITB CompuPhase` |
| `pulse.pwn(2) : fatal error 100: cannot read from file: "foreach"` | `Compilation aborted.`           |
|                                                       |                                    |
| `1 Error.`                                            |                                    |